Sample minimal test displayer. Generates only
failure messages and a pass count. For command line use. I've tried to make it look like JUnit, but I wanted to output the errors as they arrived which meant dropping the dots.
Located in /reporter.php (line 195)
SimpleScorer | --SimpleReporter | --TextReporter
Class | Description |
---|---|
![]() |
Provides an ANSI-colored TextReporter for viewing test results. |
Inherited from SimpleReporter
SimpleReporter::$_progress
SimpleReporter::$_size
SimpleReporter::$_test_stack
Inherited from SimpleScorer
SimpleScorer::$_exceptions
SimpleScorer::$_fails
SimpleScorer::$_is_dry_run
SimpleScorer::$_passes
Does nothing yet. The first output will be sent on the first test start.
Paints a PHP error or exception.
Paints a PHP error or exception.
Paints the test failure as a stack trace.
Paints the end of the test with a summary of the passes and failures.
Paints formatted text such as dumped variables.
Paints the title only.
Prints the message for skipping tests.
Inherited From SimpleReporter
SimpleReporter::SimpleReporter()
SimpleReporter::getDumper()
SimpleReporter::getTestCaseCount()
SimpleReporter::getTestCaseProgress()
SimpleReporter::getTestList()
SimpleReporter::inCli()
SimpleReporter::paintCaseEnd()
SimpleReporter::paintCaseStart()
SimpleReporter::paintFooter()
SimpleReporter::paintGroupEnd()
SimpleReporter::paintGroupStart()
SimpleReporter::paintHeader()
SimpleReporter::paintMethodEnd()
SimpleReporter::paintMethodStart()
Inherited From SimpleScorer
SimpleScorer::SimpleScorer()
SimpleScorer::createInvoker()
SimpleScorer::getExceptionCount()
SimpleScorer::getFailCount()
SimpleScorer::getPassCount()
SimpleScorer::getStatus()
SimpleScorer::makeDry()
SimpleScorer::paintCaseEnd()
SimpleScorer::paintCaseStart()
SimpleScorer::paintError()
SimpleScorer::paintException()
SimpleScorer::paintFail()
SimpleScorer::paintFormattedMessage()
SimpleScorer::paintGroupEnd()
SimpleScorer::paintGroupStart()
SimpleScorer::paintMessage()
SimpleScorer::paintMethodEnd()
SimpleScorer::paintMethodStart()
SimpleScorer::paintPass()
SimpleScorer::paintSignal()
SimpleScorer::paintSkip()
SimpleScorer::shouldInvoke()
Documentation generated on Sun, 04 May 2008 09:22:02 -0500 by phpDocumentor 1.3.0