Download Latest Version v3.30.0 source code.tar.gz (215.1 kB)
Email in envelope

Get an email when there's a new version of Behat

Home / v3.26.0
Name Modified Size InfoDownloads / Week
Parent folder
behat.phar 2025-10-29 4.2 MB
README.md 2025-10-29 2.1 kB
v3.26.0 source code.tar.gz 2025-10-29 208.6 kB
v3.26.0 source code.zip 2025-10-29 588.5 kB
Totals: 4 Items   5.0 MB 0

Changed

  • Support configuring how file paths are rendered by the JUnit formatter (relative or absolute, removing a prefix, etc). Previously, the JUnit formatter would print an absolute path unless the file was beneath the current working directory. The new default is to print paths relative to the Behat base directory - in most cases this will also be the current working directory and therefore the result will be the same. However, in some cases the reported file paths will change so you may wish to review the configuration e.g. if your tooling aggregates build results over time. By @carlos-granados in #1677

Added

  • Implement JSON formatter by @carlos-granados in #1674, #1680, #1681, #1677 and #1684.
  • Add feature file attribute on <testsuite> nodes in the JUnit formatters by @carlos-granados in #1680
  • Add timer option to disable reporting execution times in the JUnit formatter by @carlos-granados in #1681

Fixed

  • error_reporting in the Behat configuration should take precedence over system defaults by @carlos-granados in #1675
  • Ensure runtime assertions are checked during --convert-config by @carlos-granados in #1679
  • Include consistent index & placeholders for Example names in JUnit by @acoulton in [#1682]https://github.com/Behat/Behat/pull/1682) based on work previously done by @uuf6429.

Internal

  • Add AGENTS.md file with instructions for AI agents by @carlos-granados in #1672
  • Fix php version constraint in composer.json by @carlos-granados in #1678
Source: README.md, updated 2025-10-29