Actions

Testing Area/Behat Testing/Running test

From Mahara Wiki

< Testing Area‎ | Behat Testing
Revision as of 15:45, 16 December 2014 by Jinelleb (talk | contribs)

Running the test

Run Behat... Only run tests with the tag: @tag

Type this into the terminal from any directory:

mahara_behat run @tag

The tag is whatever you have tagged your test to be. For example:

mahara_behat run @core_page


When you run the command it will start up the following:

Selenium is running
Start the PHP server
Enable test site