Sha256: 0d6610127039bcb9f3768b5988530d15dce1c980c14948544933b76988e471a4

Contents?: true

Size: 739 Bytes

Versions: 18

Compression:

Stored size: 739 Bytes

Contents

# make sure latest verison is used, rather than ruby's built-in
begin
  gem 'minitest'
rescue Exception
  warn "gem install minitest"
end

# we save the developer the trouble of having to load these (TODO: should we?)
require 'minitest/unit'
require 'minitest/spec'

# compatability with old Test::Unit
#Test = MiniTest unless defined?(Test)

# load Turn's minitest runner
require 'turn/runners/minirunner'

# set MiniTest's runner to Turn::MiniRunner instance
if MiniTest::Unit.respond_to?(:runner=)
  MiniTest::Unit.runner = Turn::MiniRunner.new
else
  raise "MiniTest v#{MiniTest::Unit::VERSION} is out of date.\n" \
        "`gem install minitest` and add `gem 'minitest' to you test helper."
  #MiniTest::Unit = Turn::MiniRunner
end

Version data entries

18 entries across 18 versions & 5 rubygems

Version Path
arcabouco-0.2.13 vendor/bundle/gems/turn-0.9.6/lib/turn/minitest.rb
challah-1.0.0 vendor/bundle/gems/turn-0.9.6/lib/turn/minitest.rb
swipe-rails-0.0.5 vendor/bundle/gems/turn-0.9.6/lib/turn/minitest.rb
challah-1.0.0.beta3 vendor/bundle/gems/turn-0.9.6/lib/turn/minitest.rb
challah-1.0.0.beta2 vendor/bundle/gems/turn-0.9.6/lib/turn/minitest.rb
challah-1.0.0.beta vendor/bundle/gems/turn-0.9.6/lib/turn/minitest.rb
challah-0.9.1.beta.3 vendor/bundle/gems/turn-0.9.6/lib/turn/minitest.rb
challah-0.9.1.beta vendor/bundle/gems/turn-0.9.6/lib/turn/minitest.rb
challah-0.9.0 vendor/bundle/gems/turn-0.9.6/lib/turn/minitest.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/turn-0.9.6/lib/turn/minitest.rb
challah-0.8.3 vendor/bundle/gems/turn-0.9.6/lib/turn/minitest.rb
turn-0.9.6 lib/turn/minitest.rb
challah-0.6.1 vendor/bundle/gems/turn-0.9.5/lib/turn/minitest.rb
challah-0.6.0 vendor/bundle/gems/turn-0.9.5/lib/turn/minitest.rb
turn-0.9.5 lib/turn/minitest.rb
turn-0.9.4 lib/turn/minitest.rb
turn-0.9.3 lib/turn/minitest.rb
turn-0.9.2 lib/turn/minitest.rb