W3cubDocs

/Symfony 4.1

SymfonyTestsListenerForV7

class SymfonyTestsListenerForV7 implements TestListener

Collects and replays skipped tests.

Traits

TestListenerDefaultImplementation

Methods

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

Details

__construct(array $mockedNamespaces = array())

Parameters

array $mockedNamespaces

globalListenerDisabled()

void startTestSuite(TestSuite $suite)

Parameters

TestSuite $suite

Return Value

void

void addSkippedTest(Test $test, Throwable $t, float $time)

Parameters

Test $test
Throwable $t
float $time

Return Value

void

void startTest(Test $test)

Parameters

Test $test

Return Value

void

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

Parameters

Test $test
Warning $e
float $time

Return Value

void

void endTest(Test $test, float $time)

Parameters

Test $test
float $time

Return Value

void

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bridge/PhpUnit/Legacy/SymfonyTestsListenerForV7.html