Closed alejgarciarodriguez closed 2 years ago
Is it possible to make Symfony load contexts dynamically? E.g. using autowiring. Thanks!
Yes, this is exactly what happens with the default setup. You just need to list contexts in behat.yaml, everything else happens via the Symfony container, configured via config/services_test.yaml.
behat.yaml
config/services_test.yaml
Is it possible to make Symfony load contexts dynamically? E.g. using autowiring. Thanks!