Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (15 sloc) 425 Bytes
# -*- ruby -*-
require 'autotest/restart'
Autotest.add_hook :initialize do |at|
at.order = :random
at.add_exception 'coverage'
at.add_exception 'coverage.info'
at.libs << ':../../minitest/dev/lib'
at.testlib = "minitest/autorun"
%w(TestZenTest).each do |klass|
at.extra_class_map[klass] = "test/test_zentest.rb"
end
end
Autotest.add_hook :all_good do |at|
system "rake rcov_info"
end if ENV['RCOV']