SymfonyTestsListener

class SymfonyTestsListener extends BaseTestListener

Collects and replays skipped tests.

Methods

__construct(array $mockedNamespaces = array())
globalListenerDisabled()
startTestSuite(TestSuite $suite)
addSkippedTest(Test $test, Exception $e, $time)
startTest(Test $test)
addWarning(Test $test, Warning $e, $time)
endTest(Test $test, $time)

Details

__construct(array $mockedNamespaces = array())

Parameters

array $mockedNamespaces

globalListenerDisabled()

startTestSuite(TestSuite $suite)

Parameters

TestSuite $suite

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

Parameters

Test $test
Exception $e
$time

startTest(Test $test)

Parameters

Test $test

addWarning(Test $test, Warning $e, $time)

Parameters

Test $test
Warning $e
$time

endTest(Test $test, $time)

Parameters

Test $test
$time

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Bridge/PhpUnit/SymfonyTestsListener.html