Sha256: 669122b5f2f6c0ef1386c1b8c0dcba960080063f275736c7d830801fbc19a9dc

Contents?: true

Size: 630 Bytes

Versions: 11

Compression:

Stored size: 630 Bytes

Contents

# -*- ruby -*-

require 'autotest/restart'

Autotest.add_hook :initialize do |at|
  at.libs << ':../../minitest/dev/lib'
  at.testlib = "minitest/autorun"

  at.extra_files << "../../sexp_processor/dev/lib/pt_testcase.rb"
  at.libs << ":../../sexp_processor/dev/lib:../../ruby_parser/dev/lib"

  (1..4).each do |n|
    at.extra_class_map["TestRuby2Ruby#{n}"] = "test/test_ruby2ruby.rb"
  end

  at.add_mapping(/unified|pt_testcase/) do |f, _|
    at.files_matching(/test.*rb$/)
  end
end

if ENV['RCOV'] then
  require 'autotest/rcov'
  Autotest::RCov.command = 'rcov_info'
  Autotest::RCov.pattern = 'test/test_ruby2ruby.rb'
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ruby2ruby-2.5.1 .autotest
ruby2ruby-2.5.0 .autotest
ruby2ruby-2.4.4 .autotest
ruby2ruby-2.4.3 .autotest
ruby2ruby-2.4.2 .autotest
ruby2ruby-2.4.1 .autotest
ruby2ruby-2.4.0 .autotest
ruby2ruby-2.3.2 .autotest
ruby2ruby-2.3.1 .autotest
ruby2ruby-2.3.0 .autotest
ruby2ruby-2.2.0 .autotest