クラス LongRunningIntegrationTest
java.lang.ObjectSE
org.junit.rules.TestWatcher
org.springframework.amqp.rabbit.junit.LongRunningIntegrationTest
- 実装されたすべてのインターフェース:
org.junit.rules.TestRule
public class LongRunningIntegrationTest
extends org.junit.rules.TestWatcher
長時間実行されるテストがすべてのビルドで実行されないようにするルール。カバレッジを確保するために、CI ナイトリービルドで環境変数 RUN_LONG_INTEGRATION_TESTS を設定します。
- 導入:
- 1.2.1
- 作成者:
- Gary Russell, Artem Bilan
フィールドサマリー
フィールドコンストラクターのサマリー
コンストラクターメソッドのサマリー
修飾子と型メソッド説明org.junit.runners.model.Statement
apply
(org.junit.runners.model.Statement base, org.junit.runner.Description description) boolean
テストを実行する必要がある場合は true を返します。クラス org.junit.rules.TestWatcher から継承されたメソッド
failed, finished, skipped, skipped, starting, succeeded
フィールドの詳細
RUN_LONG_INTEGRATION_TESTS
- 関連事項:
コンストラクターの詳細
LongRunningIntegrationTest
public LongRunningIntegrationTest()LongRunningIntegrationTest
カスタム変数 / プロパティ名を使用してチェックします。- パラメーター:
property
- 変数 / プロパティ名。- 導入:
- 2.0.2
メソッドの詳細
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description) - 次で指定:
- インターフェース
org.junit.rules.TestRule
のapply
- オーバーライド:
- クラス
org.junit.rules.TestWatcher
のapply
isShouldRun
public boolean isShouldRun()テストを実行する必要がある場合は true を返します。- 戻り値:
- 実行するのは本当です。