class TeamCityListener implements PHPUnit_Framework_TestListener (View source)

Bind TeamCity test listener. Echos messages to stdout that TeamCity interprets into the test results

Methods

public
startTestSuite(PHPUnit_Framework_TestSuite $suite)

No description

public
endTestSuite(PHPUnit_Framework_TestSuite $suite)

No description

public
startTest(PHPUnit_Framework_Test $test)

No description

public
endTest(PHPUnit_Framework_Test $test, $time)

No description

public
addError(PHPUnit_Framework_Test $test, Exception $e, $time)

No description

public
addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time)

No description

public
addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time)

No description

public
addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time)

No description

public
addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, float $time)

Risky test.

Details

startTestSuite(PHPUnit_Framework_TestSuite $suite)

No description

Parameters

PHPUnit_Framework_TestSuite $suite

endTestSuite(PHPUnit_Framework_TestSuite $suite)

No description

Parameters

PHPUnit_Framework_TestSuite $suite

startTest(PHPUnit_Framework_Test $test)

No description

Parameters

PHPUnit_Framework_Test $test

endTest(PHPUnit_Framework_Test $test, $time)

No description

Parameters

PHPUnit_Framework_Test $test
$time

addError(PHPUnit_Framework_Test $test, Exception $e, $time)

No description

Parameters

PHPUnit_Framework_Test $test
Exception $e
$time

addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time)

No description

Parameters

PHPUnit_Framework_Test $test
PHPUnit_Framework_AssertionFailedError $e
$time

addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time)

No description

Parameters

PHPUnit_Framework_Test $test
Exception $e
$time

addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time)

No description

Parameters

PHPUnit_Framework_Test $test
Exception $e
$time

addRiskyTest(PHPUnit_Framework_Test $test, Exception $e, float $time)

Since: Method available since Release 3.8.0

Risky test.

Parameters

PHPUnit_Framework_Test $test
Exception $e
float $time