module MultiTest
Public Class Methods
disable_autorun()
click to toggle source
# File lib/multi_test.rb, line 3 def self.disable_autorun if defined?(Test::Unit::Runner) Test::Unit::Runner.module_eval("@@stop_auto_run = true") end if defined?(Minitest) Minitest.instance_eval do def run(*) # propagate the exit code from cucumber or another runner case $! when SystemExit $!.status else true end end end if defined?(Minitest::Unit) Minitest::Unit.class_eval do def run(*) end end end end end
extend_with_best_assertion_library(object)
click to toggle source
# File lib/multi_test.rb, line 30 def self.extend_with_best_assertion_library(object) AssertionLibrary.detect_best.extend_world(object) end
Public Instance Methods
run(*)
click to toggle source
# File lib/multi_test.rb, line 10 def run(*) # propagate the exit code from cucumber or another runner case $! when SystemExit $!.status else true end end