Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Behat Code Coverage Laravel Package

dvdoug/behat-code-coverage

Behat Code Coverage is a Behat extension that generates PHP code coverage reports while running your test suite. It wraps php-code-coverage—the same library used by PHPUnit—so reports are familiar and interoperable with existing tooling.

View on GitHub
Deep Wiki
Context7
v5.5.0
  • Compatibility with behat v4
  • Compatibility with symfony v8
v.5.4.2

Added

  • Compatibility with phpunit/php-code-coverage v14

Changed

  • Renamed "PHP" reports to "Serialized" reports to align with new upstream terminology. The old config keys are still supported for backwards compatibility
  • Changed default colours in the HTML report to match new defaults from upstream
v5.4.1

Added

  • Compatibility with phpunit/php-code-coverage v13
v5.4.0

Added

  • Added openclover report option
v5.3.7

Added

  • Compatibility with phpunit/php-code-coverage v12
v5.3.6

Fixed

  • Don't show any warning messages about missing coverage driver when --no-coverage CLI option is used
v5.3.5

Changed

  • Use stderr instead of stdout for warnings
v5.3.2.1

Fixed

  • Better handling of PCOV and Xdebug running side by side
v5.3.4

Fixed

  • Better handling of relative paths
v5.3.3

Added

  • Compatibility with phpunit/php-code-coverage v11

Changed

  • Minimum phpunit/php-code-coverage version bumped to 10.1
v5.3.2

Added

  • Support for Symfony 7

Removed

  • Support for Symfony 4
v5.3.1

Changed

  • Stopped using some deprecated methods inside phpunit/php-code-coverage v10.1

Fixed

  • Better handling of PCOV and Xdebug running side by side
v5.3.0

Added

  • Compatibility with phpunit/php-code-coverage v10.
  • Added colors and customCSSFile options to HTML report configuration
v5.2.2

Added

  • Support for Symfony 6

Changed

  • Improved error messages when a coverage driver cannot be found
  • Deprecated processUncoveredFiles setting, it has been removed as of php-code-coverage v10.
v5.0.1

Fixed

  • Make the --no-coverage option work again
v5.2.1

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.0

Added

  • Added support for the Cobertura report format

Changed

  • Minimum phpunit/php-code-coverage version bumped to 9.2
v5.1.1

Fixed

  • Make the --no-coverage option work again
v5.1.0

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

v5.0.0

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
v4.1.1

Added

  • Compatibility with phpunit/php-code-coverage v8
v4.1.0

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
v4.0.1

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
v4.0.0

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
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel