测试 spork + guard +rspec,怎么 spork 用了,测试速度还是没有提升啊

i_am_legend · 2012年04月30日 · 最后由 i_am_legend 回复于 2012年05月01日 · 2483 次阅读

guard 运行提示 spork 加载成功了。但是每次运行 test,还是很慢啊。等 grow 的 notification 都要等半天。请教怎么提升测试速度啊?

在.rspec 中加入--drb 参数,否则用 guard 运行 rspec 还是不会去连 spork 的 server

#1 楼 @willmouse 解决了。谢了兄弟

需要 登录 后方可回复, 如果你还没有账号请 注册新账号