Sha256: 82dd60b2174cf4d7ecb56858a16d5f1356486b3dc989301157b6c1acc2889bbd

Contents?: true

Size: 436 Bytes

Versions: 9

Compression:

Stored size: 436 Bytes

Contents

begin
  require 'test/unit'

  if defined?(Test::Unit::AutoRunner.need_auto_run?)
    # For test-unit gem >= 2.4.9
    Test::Unit::AutoRunner.need_auto_run = false
  elsif defined?(Test::Unit.run?)
    # For test-unit gem < 2.4.9
    Test::Unit.run = true
  elsif defined?(Test::Unit::Runner)
    # For test/unit bundled in Ruby >= 1.9.3
    Test::Unit::Runner.module_eval("@@stop_auto_run = true")
  end
rescue LoadError => ignore
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
lucid-0.1.0 lib/lucid/core_ext/disable_autorunners.rb
cucumber-1.3.2 lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb
lucid-0.0.9 lib/lucid/core_ext/disable_autorunners.rb
lucid-0.0.8 lib/lucid/core_ext/disable_autorunners.rb
lucid-0.0.7 lib/lucid/core_ext/disable_autorunners.rb
lucid-0.0.6 lib/lucid/core_ext/disable_autorunners.rb
lucid-0.0.5 lib/lucid/core_ext/disable_autorunners.rb
cucumber-1.3.1 lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb
cucumber-1.3.0 lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb