Difference between revisions of "Testing Area/Behat Testing/Running test"
From Mahara Wiki
< Testing Area | Behat Testing
m (Created page with "Category:Behat") |
|||
Line 1: | Line 1: | ||
+ | <h2>Running the test</h2> | ||
+ | |||
+ | To run your test that you have written use the command 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 | ||
+ | |||
+ | |||
+ | |||
[[Category:Behat]] | [[Category:Behat]] |
Revision as of 16:35, 16 December 2014
Running the test
To run your test that you have written use the command 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