Skip to content
Browse files

more autotest tweaks

[git-p4: depot-paths = "//src/minitest/dev/": change = 6875]
  • Loading branch information...
1 parent dfb1768 commit 8be21137ccf2d984874ac2d32635e5d2d71dac62 @zenspider zenspider committed Jan 10, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 .autotest
View
3 .autotest
@@ -1,12 +1,13 @@
# -*- ruby -*-
require 'autotest/restart'
-require 'autotest/rcov'
+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.add_exception 'coverage.info'

0 comments on commit 8be2113

Please sign in to comment.
Something went wrong with that request. Please try again.