【发布时间】:2012-06-08 10:48:42
【问题描述】:
我需要将我的一个测试用例置于 “待处理” 状态。
我想给它添加一些消息,可以在运行测试时显示在输出中,比如带有@Ignore("Pending: issue #1234 needs to be fixed") 的 JUnit。
是否有与 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
}
}
}
提前致谢!
【问题讨论】: