File: .autotest

package info (click to toggle)
ruby-minitest 3.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 340 kB
  • sloc: ruby: 3,325; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 689 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- 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'