W3cubDocs

/Symfony 4.1

SymfonyTestsListenerForV6

class SymfonyTestsListenerForV6 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.
https://api.symfony.com/4.1/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV6.html