• Made verbosity comparisons more explicit.
• Made Reporter->report() an abstract method; subclasses must now implement output themselves. • Switched to explicitly writing to output streams for each subclass rather than just using print or echo. This is because CLI and HTML use different output streams anyway (STDOUT and php://output, respectively). |
---|
|
Unit_testing/Reporter.php |
---|
Unit_testing/Reporter/ANSIReporter.php |
---|
Unit_testing/Reporter/HTMLReporter.php |
---|
Unit_testing/Reporter/TextReporter.php |
---|