Class: MiniTestRunner
- Inherits:
-
Object
- Object
- MiniTestRunner
- Defined in:
- lib/gorgon/mini_test_runner.rb
Class Method Summary collapse
Class Method Details
.run_file(filename) ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/gorgon/mini_test_runner.rb', line 13 def run_file(filename) forget_previous_tests MiniTest::Unit.runner = MiniTestUnitRunner.new load filename MiniTest::Unit.runner.run MiniTest::Unit.runner.report end |
.runner ⇒ Object
22 23 24 |
# File 'lib/gorgon/mini_test_runner.rb', line 22 def runner :minitest end |