Posts

Showing posts from April, 2014

Running Behat Tests with Atom + Script

Image
Atom is the cool new Text Editor / Source Code Editor from Github.
If you havent got it then head on over and check it out: https://atom.io/
Executing your Behat tests from inside Atom: Open up the Atom preferences and search for and install the following packages:

Behat + Script


















Open up your Feature and bring up the 'Script' run options ( command + shift + i ).


Set "--ansi" in the 'Command Arguments' (shows pretty output)Set your config and profile options in either the 'Command Arguments' or the 'Program Arguments'.Set the grammar to be "Behat Feature" :















Run the tests: