Skip to content

racibaz/phpunit-code-coverage-with-xdebug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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|Solid N|Solid N|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

Watchers

Forks

Releases

No releases published

Packages

No packages published