lib/lucid/runtime.rb in lucid-0.1.0 vs lib/lucid/runtime.rb in lucid-0.1.1

- old
+ new

@@ -17,10 +17,13 @@ include Formatter::Duration include Runtime::InterfaceIO def initialize(configuration = Configuration.default) - require 'lucid/core_ext/disable_autorunners' + if defined?(Test::Unit::Runner) + Test::Unit::Runner.module_eval("@@stop_auto_run = true") + end + @current_scenario = nil @configuration = Configuration.parse(configuration) @orchestrator = Orchestrator.new(self, @configuration) @results = Results.new(@configuration) end