New
v3.26.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
fileattribute on<testsuite>nodes in the JUnit formatters by @carlos-granados in #1680 - Add
timeroption to disable reporting execution times in the JUnit formatter by @carlos-granados in #1681
Fixed
error_reportingin the Behat configuration should take precedence over system defaults by @carlos-granados in #1675- Ensure runtime assertions are checked during
--convert-configby @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.