Class: DeepTest::Test::Runner
- Inherits:
-
Object
- Object
- DeepTest::Test::Runner
- Defined in:
- lib/deep_test/test/runner.rb
Constant Summary collapse
- NO_FILTERS =
Object.new.instance_eval do def filters; []; end; self end
Instance Method Summary collapse
-
#initialize(options) ⇒ Runner
constructor
A new instance of Runner.
- #process_work_units ⇒ Object
Constructor Details
#initialize(options) ⇒ Runner
Returns a new instance of Runner.
11 12 13 |
# File 'lib/deep_test/test/runner.rb', line 11 def initialize() @options = end |
Instance Method Details
#process_work_units ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/deep_test/test/runner.rb', line 15 def process_work_units suite = ::Test::Unit::AutoRunner::COLLECTORS[:objectspace].call NO_FILTERS supervised_suite = DeepTest::Test::SupervisedTestSuite.new(suite, @options.server) require 'test/unit/ui/console/testrunner' result = ::Test::Unit::UI::Console::TestRunner.run(supervised_suite, ::Test::Unit::UI::NORMAL) result.passed? end |