有谁知道我可以如何配置测试跑步者类以外的默认 - 并获得测试汇总结果来计算测试运行/失败是否正确?播放框架类测试跑步者 - 测试汇总结果不加起来
具体来说,我想与一些专业跑步者一起跑步。例如,所述弹簧的JUnit运行:
@RunWith(SpringJUnit4ClassRunner.class)
或也许junit的类别转轮:
@RunWith(Categories.class)
与上述运行进行标注的测试,但没有结果在活化剂控制台打印出来。例如,下面居然跑在我的包6周的测试,但结果说0 0 0 0:
[finbot] $只测试com.myapp.finbot.model *
[信息]更新{file:/ Users/todd/workspace/finbot /} root ...
[info]解决com.typesafe.trace#trace-sigar-libs; 0.1.6 ...
[info]完成更新。
09:09:07.488默认的[池1线程1] DEBUG ostcjSpringJUnit4ClassRunner - >................
[信息] ohviu版本 - HV000001:Hibernate Validator 5.0.3.Final
[debug] crfgcBatchConfiguration - ******************************* ***创建的步骤**********************************
[debug] crfgcBatchConfiguration - *** *******************************创建的作品***************** *****************
[信息]通过:共0,失败0,错误0,通过0
有什么建议吗?
我认为这是一个[bug](https://github.com/sbt/junit-interface/issues/21)在sbt/junit-interface中。你可以尝试使用sbt 0.13.6来解决它。 – Salem 2014-10-30 20:19:30