アノテーションインターフェース ModuleSlicing
@DocumentedSE
@RetentionSE(RUNTIMESE)
@TargetSE(TYPESE)
@TypeExcludeFilters(ModuleTypeExcludeFilter.class)
@ImportAutoConfiguration(ModuleTestAutoConfiguration.class)
@ExtendWith({PublishedEventsParameterResolver.class,ScenarioParameterResolver.class})
@TestInstance(PER_CLASS)
@TestConstructor(autowireMode=ALL)
public @interface ModuleSlicing
Foundation は、アプリケーションモジュールごとにアプリケーションをスライスしてテストをブートストラップしたいテスト用です。さらに
- 導入:
- 2.1
- 作成者:
- Oliver Drotbohm
オプション要素の概要
オプション要素修飾子と型オプションの要素説明ClassSE<?>[]To define the main application class in case the test is located outside a module package and that class doesn't reside in any of the parent packages.StringSE[]mode()の定義とは関係なく、テスト実行に含まれるモジュールのモジュール名。ApplicationModuleTestがモジュールパッケージ外で使用される場合にブートストラップされるモジュールの論理名booleanモジュール構造の有効性を自動的に検証するかどうか。
要素の詳細
value
- デフォルト:
- STANDALONE
mode
- デフォルト:
- STANDALONE
verifyAutomatically
boolean verifyAutomaticallyモジュール構造の有効性を自動的に検証するかどうか。- 戻り値:
- デフォルト:
- true
extraIncludes
StringSE[] extraIncludesmode()の定義とは関係なく、テスト実行に含まれるモジュールのモジュール名。- 戻り値:
- デフォルト:
- {}
module
StringSE moduleApplicationModuleTestがモジュールパッケージ外で使用される場合にブートストラップされるモジュールの論理名- 戻り値:
- null になることはありません。
- 導入:
- 1.3
- デフォルト:
- ""
classes
ClassSE<?>[] classesTo define the main application class in case the test is located outside a module package and that class doesn't reside in any of the parent packages.- 戻り値:
- null になることはありません。
- 導入:
- 1.3
- 関連事項:
- デフォルト:
- {}