summaryrefslogtreecommitdiff
path: root/lib/test/unit/ui/testrunnerutilities.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test/unit/ui/testrunnerutilities.rb')
-rw-r--r--lib/test/unit/ui/testrunnerutilities.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/test/unit/ui/testrunnerutilities.rb b/lib/test/unit/ui/testrunnerutilities.rb
index 4c3148b8be..bc75e0b9ab 100644
--- a/lib/test/unit/ui/testrunnerutilities.rb
+++ b/lib/test/unit/ui/testrunnerutilities.rb
@@ -24,6 +24,11 @@ module Test
module TestRunnerUtilities
+ # Creates a new TestRunner and runs the suite.
+ 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.