打开终端,此时 spring 没有在跑. 跑了下测试,大概花了一分钟。ps: 31 个 example 都是些很简单的 demo 测试,完全搞不懂为啥耗时这么久。
~/work/demo ‹ruby-2.1.2› ‹develop*› $ spring status
Spring is not running.
~/work/demo ‹ruby-2.1.2› ‹develop*› $ spring rspec
......具体测试省略
Finished in 41.14 seconds (files took 13.86 seconds to load)
31 examples, 6 failures, 4 pending
这时候再查看下 spring 的状态,发现已经跑起来了。按文档写得,下一次测试应该秒刷, 可耗时居然更久了。
~/work/demo ‹ruby-2.1.2› ‹develop*› $ spring status
Spring is running:
28325 spring server | demo | started 1 min ago
28326 spring app | demo | started 1 min ago | test mode
~/work/demo ‹ruby-2.1.2› ‹develop*› $ spring rspec
......具体测试省略
Finished in 34.89 seconds (files took 1 minute 47.34 seconds to load)
31 examples, 6 failures, 4 pending
求大神解救~