Behat config path has been changed since 3.2.2

Behat config path has been changed since 3.2.2

by Rajesh Taneja -
Number of replies: 0

After  MDL-54628 got integrated, behat directory structure has been changed a bit, so we can have more control on how behat parallel run work.


behat.yml use to reside in $CFG->behat_dataroot/behat/behat.yml, 

From 3.2.2 it will now reside in $CFG->behat_dataroot/BEHAT_PARALLEL_SITE_NAME/behat/behat.yml

Default value for BEHAT_PARALLEL_SITE_NAME is behatrun, so path is $CFG->behat_dataroot/behatrun/behat/behat.yml


Similar to above for parallel runs, path will be

For 1st run: $CFG->behat_dataroot/behatrun1/behat/behat.yml

For 21nd run: $CFG->behat_dataroot/behatrun2/behat/behat.yml

and so on.


This whole change was done to manage parallel and single behat in much better way and keep information about behat within $CFG->behat_dataroot



Average of ratings: Useful (4)