我刚开始使用Autotest来持续运行rspec规范。我想简单地使用自动测试来处理两个文件:[filename].rb和[filename]_spec.rb,但是当我在这些文件所在的目录中运行自动测试时,它不会获取更改。我做错了什么?我已经用谷歌搜索过了,但找不到这个非常简单的场景的答案。
发布于 2012-04-16 17:26:35
我建议你一起跳过autotest,使用Guard,https://github.com/guard/guard和guard-rspec插件。https://github.com/guard/guard-rspec
Ryan Bates也有关于guard的截屏视频,值得一看。http://railscasts.com/episodes/264-guard
https://stackoverflow.com/questions/10168594
复制相似问题