Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Start up rogo docker

    Code Block
    languagebash
    titledocker-compose
    docker-compose -f docker-compose.yml -f db.yml -f expose.yml -f selenium.yml up -d


  2. Install rogo
  3. Create a behat.xml file in your config directory. It should contain the following settings:

    Code Block
    languagexml
    titlebehat.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>
    


  4. Run the following script: testing/behat/cli/init.php on the web service.
  5. 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
  6. Overwrite the generated /testing/behat/config/behat.yml file with the location of the selenium service:

...