Seriously, I cannot figure this out with any of the available online help.
I have a system on centos 7 running on a cloud server. I have moodle already installed and I can reach it with a browser via https://my.ip.address/path. The behat test system requires there to be a different wwwroot from the moodle site. I'm not sure how that works.
I've tried duplicating the entire moodle directory into another
directory so that I can have a behat wwwroot that really is different
and that is actually reachable in a browser. Not sure if that's what you are supposed to do.
The init script seems to work. It creates database tables. It spits out output to the screen that resembles the install process. It sticks some things into the behat dataroot directory.
I edited the behat.yml and added all the locations of all the feature tests that come with moodle:
Every time I try to run the test I get the following error:
Running single behat site:
The requested config file does not exist
To re-run failed processes, you can use following command:
php admin/tool/behat/cli/run.php --rerun
php admin/tool/behat/cli/run.php --config=/path/to/behat.yml. Same error.
I've tried putting behat.yml into the datadir. I've tried everything I can think of. I even tried just running behat directly as a command-line tool (i.e. vendor/behat/behat/path/to/behat) but all that does is spit out the text of all the lines in the feature tests and output sometimes that looks like this:
2 scenarios (2 undefined)
9 steps (9 undefined)
All I really want to do is run all the test so I can see if merging in the latest stable moodle release branch was successful and identify any place I might have messed up resolving git conflicts.
Is there a step-by-step for dummies on how to do this?