...
Start up rogo docker
Code Block language bash title docker-compose docker-compose -f docker-compose.yml -f db.yml -f expose.yml -f selenium.yml up -d
- Install rogo
Create a behat.xml file in your config directory. It should contain the following settings:
Code Block language xml title behat.xml <?xml version="1.0" encoding="UTF-8"?> <rogo> <website>http://web:8003</website> <db_database>behat_database_schema_name</db_database> <db_user>username</db_user> <db_password>password</db_password> <data>path_to_behat_user_data</data> </rogo>
- Run the following script: testing/behat/cli/init.php on the web service.
- Start the webserver referenced in behat's website setting. You can use the builtin php web server with the following command: php -S localhost:8003
- Overwrite the generated /testing/behat/config/behat.yml file with the location of the selenium service:
...