アノテーションインターフェース SpringIntegrationTest


@TargetSE(TYPESE) @RetentionSE(RUNTIMESE) @DocumentedSE @InheritedSE @TestExecutionListeners(listeners=org.springframework.integration.test.context.SpringIntegrationTestExecutionListener.class, mergeMode=MERGE_WITH_DEFAULTS) public @interface SpringIntegrationTest
Spring Integration ベースのテストを実行するテストクラスで指定できるアノテーション。通常の Spring TestContext フレームワークに加えて、次の機能を提供します。

このアノテーションの一般的な使用方法は次のとおりです。

 @SpringJUnitConfig
 @SpringIntegrationTest
 public class MyIntegrationTests {

    @Autowired
    private MockIntegrationContext mockIntegrationContext;

 }
 

NestedTestConfiguration セマンティクスを尊重します。

導入:
5.0
作成者:
Artem Bilan
関連事項:
  • オプション要素の概要

    オプション要素
    修飾子と型
    オプションの要素
    説明
    AbstractEndpoint Bean 名に単純な一致パターン("xxx*"、"*xxx"、"*xxx*" または "xxx* yyy")を指定して、コンテキスト初期化中に autoStartup = false としてマークします。
  • 要素の詳細

    • noAutoStartup

      StringSE[] noAutoStartup
      AbstractEndpoint Bean 名に単純な一致パターン("xxx*"、"*xxx"、"*xxx*" または "xxx* yyy")を指定して、コンテキスト初期化中に autoStartup = false としてマークします。
      戻り値:
      コンテキスト初期化中に停止するエンドポイント名パターン
      関連事項:
      デフォルト:
      {}