3
私はいくつかのクラスに渡っていくつかのテストを配布しています。sbtテストのみの特定のテスト
私は、最初のクラスからのみ最初のテストを実行したいと思います:
クラスは次のとおりです。
class Step1_PrimarySpec
テストは次のとおりです。
test("case1: Primary (in isolation) should properly register itself to the provided Arbiter")
私が試した:
sbt test-only Step1_PrimarySpec
および
sbt test-only Step1_PrimarySpec 1
と:
sbt test-only "*Step1_PrimarySpec 1"
と:
sbt test-only "*Step1_PrimarySpec"
しかし、これらのコマンドの全ては、全体のテストスイートを実行しました。
その特定のテストのみを実行するにはどうすればよいですか?
を使用しています。 path.to.test.testClassName " – Kruser