【发布时间】:2017-01-25 06:37:47
【问题描述】:
我有几个测试分布在几个班级。
我只想运行第一堂课的第一个测试:
班级是:
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"
但是,所有这些命令都运行了整个测试套件。
那么我怎样才能只运行那个特定的测试呢?
【问题讨论】: