| Module | Test::Unit::UI::TestRunnerUtilities |
| In: |
test/unit/ui/testrunnerutilities.rb
|
Provides some utilities common to most, if not all, TestRunners.
Creates a new TestRunner and runs the suite.
# File test/unit/ui/testrunnerutilities.rb, line 28 def run(suite, output_level=NORMAL) return new(suite, output_level).start end
Takes care of the ARGV parsing and suite determination necessary for running one of the TestRunners from the command line.
# File test/unit/ui/testrunnerutilities.rb, line 35 def start_command_line_test if ARGV.empty? puts "You should supply the name of a test suite file to the runner" exit end require ARGV[0].gsub(/.+::/, '') new(eval(ARGV[0])).start end
ruby-doc.org is a community service provided by Happy Camper Studios, a Phoenix, Arizona, Ruby application development company.
Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.
For more information on the Ruby programming language, visit ruby-lang.org.
Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.