Sha256: 48b34bb5c454d53099f4bc8e7d85a521f545ec74b3ef318dad18bb625f07ee3b
Contents?: true
Size: 675 Bytes
Versions: 13
Compression:
Stored size: 675 Bytes
Contents
module DeepTest module Test class Runner unless defined?(NO_FILTERS) NO_FILTERS = Object.new.instance_eval do def filters; []; end; self end end def initialize(options) @options = options end 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 end end end
Version data entries
13 entries across 13 versions & 4 rubygems