• 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).
1 parent 5de06e2 commit c57571dc2d79a8fe2d80066c6e93ffe7da5f94de
Nigel Stanger authored on 12 Mar 2014
Showing 4 changed files
View
Unit_testing/Reporter.php
View
Unit_testing/Reporter/ANSIReporter.php
View
Unit_testing/Reporter/HTMLReporter.php
View
Unit_testing/Reporter/TextReporter.php