symfony - Parameters in behat.yml -
i want make
behat.yml - default: extensions: behat\minkextension\extension: base_url: 'my-url'
a parameter pulled parameters.yml... possible? made mink_base_url parameter in parameters.yml , added
imports: - { resource: parameters.yml }
to behat.yml. no matter do, this
[symfony\component\dependencyinjection\exception\parameternotfoundexception] service "behat.mink.context.initializer" has dependency on non-existent parameter "mink_base_url"
behat configuration in no way related symfony's. it's true behat uses symfony's di container, it's separate instance.
if wanted implement it, you'd need create own behat extension support imports
section.
Comments
Post a Comment