Class: Test::Unit::AutoRunner
- Inherits:
-
Object
- Object
- Test::Unit::AutoRunner
- Defined in:
- lib/test_extensions/test_colorizer.rb
Overview
it is necessary to do a class_eval for the TestRunner class through the AutoRunner class, since the require in the AutoRunner class will overwrite what we do here otherwise.
We must do the same thing inside of the TestRunner class class_eval for the TestResult class. We Modify the TestRunnerMediator class after the require is called, which will then modify the TestResult class.
test_finished is the function that will output the ‘.’ period during the test runs
the to_s for TestResult class returns the string for the final tallied results