CoverageListener

class CoverageListener extends 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(Test $test)

Details

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

Parameters

callable $sutFqcnResolver
$warningOnSutNotFound

startTest(Test $test)

Parameters

Test $test

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Bridge/PhpUnit/CoverageListener.html