Versions Compared

Key

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

...

  1. Do a normal install on the machine you wish to test on (this is so a valid configuration file is present) 
  2. 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://localhost:8000/</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>
      <faildump>path_for_screenshots_of_failures</faildump>
    </rogo>
    


  3. Run the following script: testing/behat/cli/init.php
  4. Download selenium (V3.x is supported) from http://www.seleniumhq.org/download/
  5. Download ChromeDriver from https://sites.google.com/a/chromium.org/chromedriver/

...