我需要将我的一个测试用例置于“待定”状态。
我想给它添加一些消息,在运行测试时可以在输出中显示,比如带有@Ignore("Pending: issue #1234 needs to be fixed")
.
Specs2 有对应的吗?
class MySpec extends mutable.Specification {
args(skipAll = true) // Can I include a message here in the output somehow?
"cool MyClass feature" should {
"which is broken unfortunately" in {
failure
}
}
}
提前致谢!