lib/gorgon/testunit_runner.rb in gorgon-0.3.0 vs lib/gorgon/testunit_runner.rb in gorgon-0.3.1
- old
+ new
@@ -26,11 +26,11 @@
def self.inherited(klass)
GorgonTestCases.cases << klass
end
end
-class TestRunner
+class TestUnitRunner
def self.run_file(filename)
GorgonTestCases.clear_cases!
load filename
result = Test::Unit::TestResult.new
@@ -44,7 +44,11 @@
# Calling suite.run will give us only runnable tests
klass.suite.run(result) {|s,n|;}
end
output
+ end
+
+ def self.runner
+ :test_unit
end
end