CoverageListener

class CoverageListener extends PHPUnit_Framework_BaseTestListener

CoverageListener adds @covers <className> on each test suite 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.
http://api.symfony.com/3.4/Symfony/Bridge/PhpUnit/Legacy/CoverageListener.html