Releases: ingenerator/behat-support
Releases · ingenerator/behat-support
v1.5.0 Support PHP 8.4
Expand supported range of sebastian/diff
What's Changed
Full Changelog: v1.4.1...v1.4.2
v1.4.1
v1.4.0
v1.3.1
Support scenario placeholders & API emulator
- Add ApiEmulatorExtension to provide placeholders, assertions & state management with ingenerator/api_emulator
- Require phpunit/phpunit as a core dependency, to simplify making assertions with formatted diffs within code shipped with this package.
- Configure .gitattributes to remove docs and development files from exported archives, to reduce production package size.
- Add ScenarioPlaceholderExtension to support placeholder values in feature files that are replaced at runtime.
- Drop support for PHP8.0
v1.2.1
v1.2.0 Support PHP 8.1 and PHP 8.2
Spin custom exception filter
Add a custom exception filter to the Spin::fn() to simplify retrying certain types of exceptions but not others.
Handle exceptions when capturing failing pages
Catch driver-level errors when attempting to capture failing page HTML / screenshots. If the listener throws an exception, it terminates the whole behat process. This can happen if the browser has crashed / lost connection, and prevents e.g. the progress formatter from rendering the list of failed steps. Instead, print the exception details to output and move on.