Sha256: 21708873396f79ba6b4a5a9e18d1519e354f8b552fed3af81e7fe24f927b1aea

Contents?: true

Size: 1.08 KB

Versions: 223

Compression:

Stored size: 1.08 KB

Contents

# -*- ruby -*-

require 'autotest/restart'
require 'autotest/rcov' if ENV['RCOV']

Autotest.add_hook :initialize do |at|
  at.testlib = 'minitest/autorun'

  bench_tests = %w(TestMinitestBenchmark)
  mock_tests = %w(TestMinitestMock TestMinitestStub)
  spec_tests = %w(TestMinitestReporter TestMetaStatic TestMeta
                  TestSpecInTestCase)
  unit_tests = %w(TestMinitestGuard TestMinitestRunnable
                  TestMinitestRunner TestMinitestTest TestMinitestUnit
                  TestMinitestUnitInherited TestMinitestUnitOrder
                  TestMinitestUnitRecording TestMinitestUnitTestCase)

  {
    bench_tests => "test/minitest/test_minitest_benchmark.rb",
    mock_tests  => "test/minitest/test_minitest_mock.rb",
    spec_tests  => "test/minitest/test_minitest_reporter.rb",
    unit_tests  => "test/minitest/test_minitest_unit.rb",
  }.each do |klasses, file|
    klasses.each do |klass|
      at.extra_class_map[klass] = file
    end
  end

  at.add_exception 'coverage.info'
  at.add_exception 'coverage'
end

# require 'autotest/rcov'
# Autotest::RCov.command = 'rcov_info'

Version data entries

223 entries across 174 versions & 36 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/minitest-5.24.1/.autotest
minitest-5.25.4 .autotest
minitest-5.25.3 .autotest
minitest-5.25.2 .autotest
direct7-0.0.18 vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/.autotest
direct7-0.0.18 vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/.autotest
direct7-0.0.17 vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/.autotest
direct7-0.0.17 vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/.autotest
direct7-0.0.16 vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/.autotest
direct7-0.0.16 vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/.autotest
minitest-5.25.1 .autotest
minitest-5.25.0 .autotest
minitest-5.24.1 .autotest
minitest-5.24.0 .autotest
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/minitest-5.18.1/.autotest
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/minitest-5.18.1/.autotest
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/minitest-5.18.1/.autotest
minitest-5.22.3 .autotest
direct7-0.0.13 vendor/bundle/ruby/3.0.0/gems/minitest-5.20.0/.autotest
direct7-0.0.13 vendor/bundle/ruby/2.7.0/gems/minitest-5.20.0/.autotest