Crap4jPHPUnitResultFormatter

Extends \PHPUnitResultFormatter

Prints Clover XML output of the test

author

Daniel Kreckel [email protected]

package

phing.tasks.ext.formatter

Methods

Constructor

__construct(\PHPUnitTask $parentTask) 
inherited

Arguments

$parentTask

\PHPUnitTask

Calling Task

addError

addError(\PHPUnit\Framework\Test $test, \Exception $e, float $time) 
inherited

Arguments

$test

\PHPUnit\Framework\Test

$e

\Exception

$time

float

addFailure

addFailure(\PHPUnit\Framework\Test $test, \PHPUnit\Framework\AssertionFailedError $e, float $time) 
inherited

Arguments

$test

\PHPUnit\Framework\Test

$e

\PHPUnit\Framework\AssertionFailedError

$time

float

addIncompleteTest

addIncompleteTest(\PHPUnit\Framework\Test $test, \Exception $e, float $time) 
inherited

Arguments

$test

\PHPUnit\Framework\Test

$e

\Exception

$time

float

addRiskyTest

addRiskyTest(\PHPUnit\Framework\Test $test, \Exception $e, float $time) 
inherited

Arguments

$test

\PHPUnit\Framework\Test

$e

\Exception

$time

float

addSkippedTest

addSkippedTest(\PHPUnit\Framework\Test $test, \Exception $e, float $time) 
inherited

Arguments

$test

\PHPUnit\Framework\Test

$e

\Exception

$time

float

addWarning

addWarning(\PHPUnit\Framework\Test $test, \PHPUnit\Framework\Warning $e, float $time) 
inherited

Arguments

$test

\PHPUnit\Framework\Test

$e

\PHPUnit\Framework\Warning

$time

float

endTest

endTest(\PHPUnit\Framework\Test $test, float $time) 
inherited

Arguments

$test

\PHPUnit\Framework\Test

$time

float

endTestRun

endTestRun() 
inherited

endTestSuite

endTestSuite(\PHPUnit\Framework\TestSuite $suite) 
inherited

Arguments

$suite

\PHPUnit\Framework\TestSuite

getElapsedTime

getElapsedTime() : float|integer
inherited

Response

float|integer

getErrorCount

getErrorCount() : mixed
inherited

Response

mixed

Returns the extension used for this formatter

getExtension() : string
inherited

Response

string

the extension

getFailureCount

getFailureCount() : mixed
inherited

Response

mixed

getIncompleteCount

getIncompleteCount() : mixed
inherited

Response

mixed

getMicrotime

getMicrotime() : float
inherited

Response

float

getPreferredOutfile

getPreferredOutfile() : string
inherited

Response

string

getRunCount

getRunCount() : mixed
inherited

Response

mixed

getSkippedCount

getSkippedCount() : mixed
inherited

Response

mixed

getWarningCount

getWarningCount() : mixed
inherited

Response

mixed

processResult

processResult(\PHPUnit\Framework\TestResult $result) 
inherited

Arguments

$result

\PHPUnit\Framework\TestResult

Sets the writer the formatter is supposed to write its results to.

setOutput(\Writer $out) 
inherited

Arguments

$out

\Writer

startTest

startTest(\PHPUnit\Framework\Test $test) 
inherited

Arguments

$test

\PHPUnit\Framework\Test

startTestRun

startTestRun() 
inherited

startTestSuite

startTestSuite(\PHPUnit\Framework\TestSuite $suite) 
inherited

Arguments

$suite

\PHPUnit\Framework\TestSuite

Properties

result

result : \PHPUnit\Framework\TestResult
var

Type(s)

\PHPUnit\Framework\TestResult

PHPUnit version

version : string
var

Type(s)

string

out

out : 
inherited

Type(s)

project

project : 
inherited

Type(s)

timers

timers : boolean|array
inherited
var

Type(s)

boolean|array

runCounts

runCounts : boolean|array
inherited
var

Type(s)

boolean|array

failureCounts

failureCounts : boolean|array
inherited
var

Type(s)

boolean|array

errorCounts

errorCounts : boolean|array
inherited
var

Type(s)

boolean|array

incompleteCounts

incompleteCounts : boolean|array
inherited
var

Type(s)

boolean|array

skipCounts

skipCounts : boolean|array
inherited
var

Type(s)

boolean|array

warningCounts

warningCounts : boolean|array
inherited
var

Type(s)

boolean|array