Skip to content

Repository files navigation

Phpunit Code-Coverage with Xdebug

This project is about calculator test.

phpunit -d xdebug.profiler_enable=on tests --coverage-html code-coverage

or

./vendor/bin/phpunit -d xdebug.profiler_enable=on tests --coverage-html code-coverage

or

XDEBUG_MODE=coverage phpunit -d tests --coverage-html code-coverage

N|SolidN|SolidN|Solid

 Runtime: PHP 7.4.1 with Xdebug 2.9.0
Configuration: /home/vagrant/code/phpunit.xml
................ 16 / 16 (100%)
Time: 00:01.104, Memory: 8.00 MB
OK (16 tests, 16 assertions)
Generating code coverage report in HTML format ... done [00:02.633]

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages