behat-fail-aid icon indicating copy to clipboard operation
behat-fail-aid copied to clipboard

FailAid complains if behat.yml missing and no config option provided

Open tanc opened this issue 2 years ago • 2 comments

What is the issue?

Behat allows for the following config locations:

Behat will look for files named behat.yaml, behat.yml, behat.yaml.dist, behat.yml.dist (in this order). It will first try to find a config file in the root directory of your project, and in config directory second.

FailAid works fine with a behat.yml.dist if --config=behat.yml.dist is used but otherwise complains about a missing behat.yml file.

What should have happened?

It would be nice if all the config options supported by behat were supported by this extension so no changes to CI commands or locally run commands were needed.

tanc avatar May 03 '23 08:05 tanc

This is what Behat does: https://github.com/Behat/Behat/blob/master/src/Behat/Behat/ApplicationFactory.php#L111

tanc avatar May 03 '23 08:05 tanc

Thanks tanc, will look into this.

forceedge01 avatar May 04 '23 10:05 forceedge01