我正在开始我的第一场比赛!项目,出于某种原因,当我运行 test 命令时,看起来我的测试都没有运行。
Abot::AbotsPlayApp $ play test
[info] Loading project definition from ~/AbotsPlayApp/project
[info] Set current project to AbotsPlayApp (in build file:~/AbotsPlayApp/)
[info] IntegrationTest
[info]
[info]
[info] Total for test IntegrationTest
[info] Finished in 0.0 seconds
[info] 0 tests, 0 failures, 0 errors
[info] ApplicationTest
[info]
[info]
[info] Total for test ApplicationTest
[info] Finished in 0.0 seconds
[info] 0 tests, 0 failures, 0 errors
[info] Passed: : Total 0, Failed 0, Errors 0, Passed 0, Skipped 0
[success] Total time: 1 s, completed Aug 20, 2013 10:11:14 PM
Abot::AbotsPlayApp $
为什么会说“0次测试,0次失败,0次错误”?
答案 0 :(得分:2)
这是2.1.3关于Java测试的已知问题 - 请查看Play用户论坛以了解解决方法,或使用2.1.4-RC1。对由此造成的不便表示歉意。