autotestを使った場合、cucumberが永遠に動き続けるのが忌々しかったんだけどやっと解決。

Autotest Integration - cucumber - GitHub

If you find that autotest runs your features continuously, your features may be changing a file which autotest is monitoring as they run. Use a setting like this to ignore such files. You’ll likely need to set autotest to ignore “rerun.txt” as well.

# ~/.autotest
Autotest.add_hook :initialize do |at|
  %w{.svn .hg .git vendor rerun.txt}.each {|exception| at.add_exception(exception)}
end

rerun.txt自身の変更に反応して動き続けてたっぽい。

参照:autospec/autotest cucumber infinite loop | ELEVATION Dev Blog

Comments


Option