SymfonyTestsListener

class SymfonyTestsListener extends PHPUnit_Framework_BaseTestListener

Collects and replays skipped tests.

Methods

__construct(array $mockedNamespaces = array())
__destruct()
startTestSuite(PHPUnit_Framework_TestSuite $suite)
addSkippedTest(PHPUnit_Framework_Test $test, Exception $e, $time)
startTest(PHPUnit_Framework_Test $test)
endTest(PHPUnit_Framework_Test $test, $time)

Details

__construct(array $mockedNamespaces = array())

Parameters

array $mockedNamespaces List of namespaces, indexed by mocked features (time-sensitive or dns-sensitive)

__destruct()

startTestSuite(PHPUnit_Framework_TestSuite $suite)

Parameters

PHPUnit_Framework_TestSuite $suite

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

Parameters

PHPUnit_Framework_Test $test
Exception $e
$time

startTest(PHPUnit_Framework_Test $test)

Parameters

PHPUnit_Framework_Test $test

endTest(PHPUnit_Framework_Test $test, $time)

Parameters

PHPUnit_Framework_Test $test
$time
doc_Symfony
2016-10-28 06:33:57
Comments
Leave a Comment

Please login to continue.