Skip to content

yurii-stickee-2023/bugged-phpunit-covers-method-with-trait

Repository files navigation

bugged-phpunit-covers-method-with-trait

Run test coverage

xDebug

XDEBUG_MODE=coverage php -dpcov.enabled=0 vendor/bin/phpunit --coverage-html=.phpunit.cache/coverage-xdebug

PCOV

XDEBUG_MODE=off php -dpcov.enabled=1 vendor/bin/phpunit --coverage-html=.phpunit.cache/coverage-pcov

Case 1 - DummyWithTrait's trait is commented out

trait-commented.png

Case 2 - DummyWithTrait uses trait

trait-used.png

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages