short-edition / behat-code-coverage
Generate Code Coverage reports for Behat tests
Fund package maintenance!
dvdoug
Installs: 535
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 13
pkg:composer/short-edition/behat-code-coverage
Requires
- php: ^8.3
- composer-runtime-api: ^2.0
- behat/behat: ^3.27
- composer/semver: ^3.0
- phpunit/php-code-coverage: ^12.3
- symfony/config: ^6.4||^7.4||^8.0
- symfony/console: ^6.4||^7.4||^8.0
- symfony/dependency-injection: ^6.4||^7.4||^8.0
- symfony/event-dispatcher: ^6.4||^7.4||^8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.88.2
- phpunit/phpunit: ^10.5.27||^11.4.3||^12.0
- symfony/filesystem: ^6.4||^7.4||^8.0
Suggests
- ext-pcov: PCOV allows you to collect line coverage only, but is faster than Xdebug
- ext-xdebug: Xdebug allows you to collect line, branch and path coverage
This package is auto-updated.
Last update: 2026-01-15 14:57:35 UTC
README
Behat Code Coverage is an extension for Behat that can generate code coverage reports when testing a PHP application. The extension wraps the same php-code-coverage library that is used by PHPUnit thereby producing reports that are familiar to developers and interoperable with other tooling.
See documentation for more details.
License
Licensed under BSD-2-Clause License.