ingenerator / behat-support
Various support functions and classes for behat testing
v1.6.0
2026-11-11 08:51 UTC
Requires
- php: ~8.4.0 || ~8.5.0 || ~8.6.0
- ext-json: *
- behat/behat: ^3.15
- ingenerator/php-utils: ^1.19 || ^2.0 || ^3.0
- sebastian/diff: ^4.0||^5.1||^6.0||^9.0
- symfony/http-client: ^6.4.6 || ^7.2 || ^8.1
Requires (Dev)
- phpunit/phpunit: ^13.4
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Behat-Support provides various helpers and support functions that we commonly use with behat.
Installing Behat-Support
$> composer require --dev ingenerator/behat-support
Contents
- ApiEmulatorExtension - provides a client, contexts & placeholders to manage state & make assertions when testing projects that use ingenerator/api_emulator. See docs/api_emulator_extension.md.
- ScenarioPlaceholderExtension - a mechanism for using placeholder values in feature files that will be resolved at runtime. See docs/scenario_placeholder_extension.md.
Contributing
Contributions are welcome - please see CONTRIBUTING.md before starting work on any contribution.
Contributors
This package has been sponsored by inGenerator Ltd
- Andrew Coulton acoulton - Lead developer
Licence
Licensed under the BSD-3-Clause Licence