W3cubDocs

/Symfony 4.1

CoverageListenerForV5

class CoverageListenerForV5 extends PHPUnit_Framework_BaseTestListener

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

Methods

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

Details

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

Parameters

callable $sutFqcnResolver
$warningOnSutNotFound

startTest(PHPUnit_Framework_Test $test)

Parameters

PHPUnit_Framework_Test $test

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