【发布时间】:2012-12-10 17:49:54
【问题描述】:
如果您在 SBT 项目中定义了 2 个测试:
class Spec1 extends Specification {
def is =
"Tests for specification 1" ^
p ^
"Test case 1" ! todo ^
end
}
和
class Spec2 extends Specification {
def is =
"Tests for specification 2" ^
p ^
"Test case 2" ! todo ^
end
}
然后从 SBT 内部运行 test 将执行这两个测试。只运行其中一项测试的最简单方法是什么?
【问题讨论】: