Skip to content

Releases: dvdoug/behat-code-coverage

5.1.1

14 Aug 22:33
Compare
Choose a tag to compare

Fixed

  • Make the --no-coverage option work again

5.1.0

10 Aug 15:30
Compare
Choose a tag to compare

Added

  • Support for phpunit/php-code-coverage's static analysis cache introduced in v9.1. This can be configured via the cache key in behat.yml, otherwise defaults to sys_get_temp_dir() . '/behat-code-coverage-cache'

Changed

  • Minimum phpunit/php-code-coverage version bumped to 9.1

Removed

5.0.0

07 Aug 12:02
Compare
Choose a tag to compare

Added

  • Compatibility with phpunit/php-code-coverage v9. Branch and path coverage is automatically enabled when running under Xdebug. For more information on this feature, see https://doug.codes/php-code-coverage
  • branchAndPathCoverage configuration key to enable/disable path and branch coverage. Setting this to true explicitly will warn when the feature cannot be used.
  • Support for PCOV

Removed

  • The old report configuration key, use reports instead
  • Removed forceCoversAnnotation and mapTestClassNameToCoveredClassName configuration keys, these options are not supported by php-code-coverage anymore
  • Removed the whitelist configuration key to align with php-code-coverage v9 terminology. All former subkeys of whitelist are now subkeys of filter
  • Renamed addUncoveredFilesFromWhitelist and processUncoveredFilesFromWhitelist to includeUncoveredFiles and processUncoveredFiles to align with php-code-coverage v9 terminology
  • Removed the custom driver selection logic and replaced it with built-in logic from php-code-coverage
  • The RemoteXDebug driver, it was a companion to an old Symfony bundle, not a generally-usable feature
  • Removed legacy LeanPHP\Behat\CodeCoverage alias

4.1.1

15 Feb 20:46
Compare
Choose a tag to compare

Added

  • Compatibility with phpunit/php-code-coverage v8

4.1.0

04 Nov 16:05
Compare
Choose a tag to compare

Added

  • Added reports configuration key to enable generation of multiple coverage output formats, with schema validation of the available format-specific options

Deprecated

  • The report configuration key as it only allowed for a single report type

4.0.1

04 Aug 20:49
Compare
Choose a tag to compare

Added

  • Added back support for LeanPHP\Behat\CodeCoverage in behat.yml for seamless drop-in of the fork

Fixed

  • Support for phpdbg
  • Issue with directories containing dashes in the name
  • Issue with xdebug and delete calls

4.0.0

04 Aug 19:09
Compare
Choose a tag to compare

Added

  • Support for version 7.0 of phpunit/php-code-coverage

Changed

  • Changed namespace of all code to LeanPHP\Behat\CodeCoverage from DVDoug\Behat\CodeCoverage
  • Minimum version of PHP supported is 7.1

Removed

  • Support for Symfony components older than <3.4