W3cubDocs

/Symfony 4.1

CoverageListenerForV7

class CoverageListenerForV7 implements TestListener

CoverageListener adds @covers <className> on each test when possible to make the code coverage more accurate.

Traits

TestListenerDefaultImplementation

Methods

__construct(callable $sutFqcnResolver = null, $warningOnSutNotFound = false)
void startTest(Test $test)

Details

__construct(callable $sutFqcnResolver = null, $warningOnSutNotFound = false)

Parameters

callable $sutFqcnResolver
$warningOnSutNotFound

void startTest(Test $test)

Parameters

Test $test

Return Value

void

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