Sunday, September 10, 2017

Running Behat Tests with Atom Script

Running Behat Tests with Atom Script


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:





download file now

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.