【发布时间】:2010-07-06 21:01:16
【问题描述】:
我正在使用 cucumber、rails3、rspec2 和 autotest。我试图弄清楚为什么我的功能无限循环。我怀疑在测试期间某些文件被更改了,但我不确定是哪个文件。我在.autotest 中添加了一些例外情况,没有骰子。
我可以采取任何步骤来解决此问题吗?
如果我能看到哪些文件正在触发重新运行,或者在运行时,哪些文件正在被监视/未被监视,那就太棒了。
这是我的 .autotest 内容
require 'autotest/growl'
Autotest::Growl::clear_terminal = false
# Skip some paths
Autotest.add_hook :initialize do |autotest|
%w{.git .DS_store db log tmp rerun.txt}.each { |e| autotest.add_exception(e) }
end
【问题讨论】:
标签: ruby-on-rails rspec cucumber autotest