This abstract class describes classes that format the results of a PHPUnit testrun.
author
|
Michiel Rook mrook@php.net
|
version
|
$Id: e6377299d86c4e8c4e4eb5875b346d44baf9fe25 $
|
package
|
phing.tasks.ext.phpunit.formatter
|
since
|
2.1.0
|
Methods
Constructor
__construct(\PHPUnitTask $parentTask)
addError
addError(\PHPUnit_Framework_Test $test, \Exception $e, float $time)
Arguments
$test
\PHPUnit_Framework_Test
addFailure
addFailure(\PHPUnit_Framework_Test $test, \PHPUnit_Framework_AssertionFailedError $e, float $time)
Arguments
$test
\PHPUnit_Framework_Test
$e
\PHPUnit_Framework_AssertionFailedError
addIncompleteTest
addIncompleteTest(\PHPUnit_Framework_Test $test, \Exception $e, float $time)
Arguments
$test
\PHPUnit_Framework_Test
addRiskyTest
addRiskyTest(\PHPUnit_Framework_Test $test, \Exception $e, float $time)
Arguments
$test
\PHPUnit_Framework_Test
addSkippedTest
addSkippedTest(\PHPUnit_Framework_Test $test, \Exception $e, float $time)
Arguments
$test
\PHPUnit_Framework_Test
endTest
endTest(\PHPUnit_Framework_Test $test, float $time)
Arguments
$test
\PHPUnit_Framework_Test
endTestSuite
endTestSuite(\PHPUnit_Framework_TestSuite $suite)
Arguments
$suite
\PHPUnit_Framework_TestSuite
getElapsedTime
getElapsedTime() : float|integer
getErrorCount
getErrorCount() : mixed
Returns the extension used for this formatter
getExtension() : string
Response
string
the extension
getFailureCount
getFailureCount() : mixed
getIncompleteCount
getIncompleteCount() : mixed
getMicrotime
getMicrotime() : float
getPreferredOutfile
getPreferredOutfile() : string
getRunCount
getRunCount() : mixed
getSkippedCount
getSkippedCount() : mixed
processResult
processResult(\PHPUnit_Framework_TestResult $result)
Arguments
$result
\PHPUnit_Framework_TestResult
Sets the writer the formatter is supposed to write its results to.
setOutput(\Writer $out)
startTest
startTest(\PHPUnit_Framework_Test $test)
Arguments
$test
\PHPUnit_Framework_Test
startTestRun
startTestRun()
startTestSuite
startTestSuite(\PHPUnit_Framework_TestSuite $suite)
Arguments
$suite
\PHPUnit_Framework_TestSuite
Properties
timers
timers : boolean|array
runCounts
runCounts : boolean|array
failureCounts
failureCounts : boolean|array
errorCounts
errorCounts : boolean|array
incompleteCounts
incompleteCounts : boolean|array
skipCounts
skipCounts : boolean|array