我有一个像这样的简单测试:
"xxx" should {
"xxx" in running(FakeApplication()) {
route(
FakeRequest(GET, "/xxx/xxxx")
) must beLike {
case Some(result) => {
"" must_== ""
}
}
测试总是在测试快结束时冻结:
...
[info] Total for test controllers.XxxTest
[info] Finished in 0.001 seconds
[info] 1 tests, 0 failures, 0 errors
所以我退出测试Ctrl+C...
有什么想法吗?
JVM 1.7.0_11
Scala 2.10.0
播放 2.1-RC2
Mac OSX 10.8.2