Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (20 sloc) 0.672 kb
require 'active_support/core_ext'
#テストが失敗した後に、テスト再実行まで300秒待機するためのモンキーパッチ.
class Autotest
def get_to_green_with_get_to_green_wait
begin
run_tests
wait_for_changes unless all_good
Kernel.sleep 300
end until all_good
end
alias_method_chain :get_to_green, :get_to_green_wait
end
# Include plugins
require 'autotest/growl'
Autotest::Growl::image_dir = File.join(ENV['HOME'], 'MyPicture/growl/autotest_image')
# Skip some paths
Autotest.add_hook :initialize do |autotest|
%w{.git .DS_Store ._* vendor}.each { |exception| autotest.add_exception(exception) }
false
end
Jump to Line
Something went wrong with that request. Please try again.