クラス 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
    • コンストラクターの詳細

      • LongRunningIntegrationTest

        public LongRunningIntegrationTest()
      • LongRunningIntegrationTest

        public LongRunningIntegrationTest​(StringSE property)
        カスタム変数 / プロパティ名を使用してチェックします。
        パラメーター:
        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.TestRuleapply 
        オーバーライド:
        クラス org.junit.rules.TestWatcherapply 
      • isShouldRun

        public boolean isShouldRun()
        テストを実行する必要がある場合は true を返します。
        戻り値:
        実行するのは本当です。