PEAR Handbuch | ||
---|---|---|
Zurück | Nach vorne |
If you check the PHPUnit::run() documentation, you will note, that the function did not return true or false to return the success of a test suite.
Instead a PHPUnit_TestResult is returned. It contains information about the test suite run. To access this information, the PHPUnit_TestResult object provides a set of functions to process this information.
Returns a careful formatted HTML text, reporting the test result, which can be directly passed to an HTML-Viewer
Zurück | Zum Anfang | Nach vorne |
PHPUnit_Assert | Nach oben | PHPUnit_TestFailure |