better-phpunit
better-phpunit copied to clipboard
Generate HTML or Text coverage for the latest version
This Pull Request is based on the PHPUnit coverage as I introduced it at #94 , but now it is for the latest version of Better-PHPUnit.
- Added a new configuration variable, where the user can select the format of the Coverage report, which by default is text.
- Reduced the commands to two than four, so that it is easier for the users
- Added an Error Message for the user in case the coverage path is not set when the user runs a test with coverage. The test is not prevented from running.
hope this implementation will be useful for others too.
Hey @walkero-gr - thanks for contributing! Left some notes on the PR for you if you're interested in cleaning it up a bit.
@calebporzio Hello there. Would you like to provide some more info on the above, so that we can move this pull request forward? Thank you for your time.