dvdoug/behat-code-coverage
Generate Code Coverage reports for Behat tests
v5.5.0
4.1M downloads/mo
#2381 most downloaded on Packagist
dvdoug/behat-code-coverage
What this package is like to depend on
Last release 1 months ago
28 Jun 2026
Release timing varies
gaps range from 2 months to 1.2 years
Most releases are documented
notes for 23 of 33 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
33 releases · first in 2017
2 releases in the last 12 months
see the full history below
Release timeline
33 releases · Apr 2017 to Jun 2026Releases
latest 33-
v5.5.028 Jun 2026 -
v5.4.107 Feb 2026 -
v5.4.009 Jun 2025 -
v5.3.707 Feb 2025 -
v5.3.616 Nov 2024Release notes
Open source →Fixed
- Don't show any warning messages about missing coverage driver when
--no-coverageCLI option is used
Release notes
Open source →Fixed
- Don't show any warning messages about missing coverage driver when
--no-coverageCLI option is used
- Don't show any warning messages about missing coverage driver when
-
v5.3.522 Sep 2024 -
v5.3.403 Apr 2024 -
v5.3.303 Feb 2024Release notes
Open source →Added
- Compatibility with
phpunit/php-code-coveragev11
Changed
- Minimum
phpunit/php-code-coverageversion bumped to 10.1
Release notes
Open source →Added
- Compatibility with
phpunit/php-code-coveragev11
Changed
- Minimum
phpunit/php-code-coverageversion bumped to 10.1
- Compatibility with
-
v5.3.209 Dec 2023 -
v5.3.108 May 2023Release notes
Open source →Changed
- Stopped using some deprecated methods inside
phpunit/php-code-coveragev10.1
Fixed
- Better handling of PCOV and Xdebug running side by side
- Stopped using some deprecated methods inside
-
v5.3.004 Feb 2023Release notes
Open source →Added
- Compatibility with
phpunit/php-code-coveragev10 - Added
colorsandcustomCSSFileoptions to HTML report configuration
- Compatibility with
-
v5.2.230 Nov 2021Release notes
Open source →Added
- Support for Symfony 6
Changed
- Improved error messages when a coverage driver cannot be found
- Deprecated
processUncoveredFilessetting, it has been removed as of php-code-coverage v10.
-
v5.2.110 Jan 2021Release notes
Open source →Fixed
- When Xdebug was enabled, but its coverage feature was disabled an exception was thrown. This scenario is now treated the same as when no coverage driver is loaded at all (a warning is printed but Behat is allowed to run to completion)
-
v5.2.011 Oct 2020Release notes
Open source →Added
- Added support for the Cobertura report format
Changed
- Minimum
phpunit/php-code-coverageversion bumped to 9.2
-
v5.1.114 Aug 2020 -
v5.1.010 Aug 2020Release notes
Open source →Added
- Support for
phpunit/php-code-coverage's static analysis cache introduced in v9.1. This can be configured via thecachekey in behat.yml, otherwise defaults tosys_get_temp_dir() . '/behat-code-coverage-cache'
Changed
- Minimum
phpunit/php-code-coverageversion bumped to 9.1
Removed
- Support for Symfony 3.4, in alignment with https://github.com/Behat/Behat/issues/1296
- Support for
-
v5.0.113 Sep 2021 -
v5.0.007 Aug 2020Release notes
Open source →Added
- Compatibility with
phpunit/php-code-coveragev9. Branch and path coverage is automatically enabled when running under Xdebug. For more information on this feature, see https://doug.codes/php-code-coverage branchAndPathCoverageconfiguration key to enable/disable path and branch coverage. Setting this totrueexplicitly will warn when the feature cannot be used.- Support for PCOV
Removed
- The old
reportconfiguration key, usereportsinstead - Removed
forceCoversAnnotationandmapTestClassNameToCoveredClassNameconfiguration keys, these options are not supported byphp-code-coverageanymore - Removed the
whitelistconfiguration key to align withphp-code-coveragev9 terminology. All former subkeys ofwhitelistare now subkeys offilter - Renamed
addUncoveredFilesFromWhitelistandprocessUncoveredFilesFromWhitelisttoincludeUncoveredFilesandprocessUncoveredFilesto align withphp-code-coveragev9 terminology - Removed the custom driver selection logic and replaced it with built-in logic from
php-code-coverage - The
RemoteXDebugdriver, it was a companion to an old Symfony bundle, not a generally-usable feature - Removed legacy
LeanPHP\Behat\CodeCoveragealias
- Compatibility with
-
v4.1.115 Feb 2020 -
v4.1.004 Nov 2019Release notes
Open source →Added
- Added
reportsconfiguration key to enable generation of multiple coverage output formats, with schema validation of the available format-specific options
Deprecated
- The
reportconfiguration key as it only allowed for a single report type
- Added
-
v4.0.104 Aug 2019Release notes
Open source →Added
- Added back support for
LeanPHP\Behat\CodeCoverageinbehat.ymlfor seamless drop-in of the fork - Support for
phpdbg
Fixed
- Issue with directories containing dashes in the name
- Issue with
xdebuganddeletecalls
- Added back support for
-
v4.0.004 Aug 2019Release notes
Open source →Added
- Support for version 7.0 of
phpunit/php-code-coverage
Changed
- Changed namespace of all code to
LeanPHP\Behat\CodeCoveragefromDVDoug\Behat\CodeCoverage - Minimum version of PHP supported is
7.1
Removed
- Support for Symfony components older than
<3.4 - Support for HHVM
- Support for version 7.0 of
-
v3.4.109 May 2018Nothing published for this version
-
v3.4.004 May 2018Nothing published for this version
-
v3.3.104 May 2018Nothing published for this version
-
v3.3.012 Apr 2018Nothing published for this version
-
v3.2.121 Mar 2018Nothing published for this version
-
v3.2.017 Oct 2017Nothing published for this version
-
v3.1.121 Mar 2018Nothing published for this version
-
v3.1.017 Oct 2017Nothing published for this version
-
v3.0.008 Apr 2017Nothing published for this version
-
v2.5.504 Apr 2017Nothing published for this version
-
v5.3.2.115 Sep 2024