Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (15 sloc) 689 Bytes
# -*- ruby -*-
require 'autotest/restart'
require 'autotest/rcov' if ENV['RCOV']
Autotest.add_hook :initialize do |at|
at.testlib = 'minitest/unit'
at.extra_class_map["MiniTest::Spec"] = "test/test_minitest_spec.rb"
at.extra_class_map["TestMeta"] = "test/test_minitest_spec.rb"
at.extra_class_map["TestMiniTestUnitTestCase"] = "test/test_minitest_unit.rb"
at.extra_class_map["TestMiniTestUnit"] = "test/test_minitest_unit.rb"
at.extra_class_map["TestMiniTestStub"] = "test/test_minitest_mock.rb"
at.add_exception 'coverage.info'
at.add_exception 'coverage'
end
# require 'autotest/rcov'
# Autotest::RCov.command = 'rcov_info'