Sha256: 984ae5d6ba1b1786616eb3c0db4e21977163f4c1194aa8f832f00c42020475f8

Contents?: true

Size: 417 Bytes

Versions: 11

Compression:

Stored size: 417 Bytes

Contents

# Why: http://groups.google.com/group/cukes/browse_thread/thread/5682d41436e235d7
begin
  require 'minitest/unit'
  class MiniTest::Unit
    class << self
      @@installed_at_exit = true
    end

    def run(*)
      0
    end
  end
rescue LoadError => ignore
end

# Do the same for Test::Unit
begin
  require 'test/unit'
  module Test::Unit
    def self.run?
      true
    end
  end
rescue LoadError => ignore
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
casecumber-1.0.2.1 lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb
js-log-cucumber-1.0.2 lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb
cucumber-1.0.3 lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb
cucumber-1.0.2 lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb
cucumber-1.0.1 lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb
cucumber-1.0.0 lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb
cucumber-0.10.7 lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb
cucumber-0.10.6 lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb
cucumber-0.10.5 lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb
cucumber-0.10.3 lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb
cucumber-0.10.2 lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb