0
我知道我可以使用taggedAs
方法標記測試(我使用FlatSpec
現在)這樣的:一次標記許多測試中ScalaTest
\/\/\/\/\/\/\/\/\/
it should "not deadlock" taggedAs SlowTest in {
Par.run(Executors.newFixedThreadPool(2))(Par.parMap(List.range(1, 100000))(math.sqrt(_)))
}
但我想知道我是否可以標記大量的測試一下子
類似:
taggedAs (SlowTest) { // yes this doesn't work, I've tried it.
//a bunch-o-tests
}