Kamil Kokot e08fef9373 bug #101 Fix referencing context initializers (kamazee)
This PR was merged into the 2.0 branch.

Discussion
----------

With definition, that has been used instead of reference, container has used to created 2 instances of initializer: one with service id, and one "anonymous", described by spl_object_hash in a container, it broke stateful initializers: in my case initializer was also used to reset state before next scenario/example, and initializing and resetting happened with different instances of initializer.

If the fix and test are OK, let me know if you want me to cherry-pick the fix onto master and created additional pull request for master.

Commits
-------

06104478cc Fix referencing context initializers
2019-12-09 13:07:37 +01:00
2019-12-09 13:01:40 +01:00
2019-01-30 17:38:45 +01:00
2016-11-03 11:36:50 +01:00
2019-10-10 18:00:08 +02:00
2019-01-10 22:30:53 +01:00
2019-01-21 13:27:07 +01:00
2019-01-21 13:58:12 +01:00


SymfonyExtension

This Behat extension provides an integration with Symfony (both ^3.4 and ^4.1) and Mink driver for Symfony application.

It allows for:

  • defining your contexts as regular Symfony services

  • autowiring and autoconfiguring your contexts

  • testing your Symfony application without having to set up a server

Documentation

Versioning

This package follows semantic versioning - public API is defined as configuration and behaviour defined in form of testable scenarios in the features directory. This means once your application is configured to use Behat with SymfonyExtension, it shall continue to work flawlessly within the same major version. PHP classes, apart from FriendsOfBehat\SymfonyExtension\Bundle\FriendsOfBehatSymfonyExtensionBundle, are not covered by this backwards compatibility promise.

License

This extension is completely free and released under permissive MIT license.

Authors

It is originally created by Kamil Kokot. See the list of all contributors.

Description
Fork of FriendsOfBehat SymfonyExtension with Symfony 8 / PHP 8.5 compatibility work
Readme MIT 564 KiB
Languages
Gherkin 62.7%
PHP 37.3%