Last updated November 7, 2012.
The doobie project has been structured to take advantage of running tests as follows:
All of one team's tests:
bin/behat features/folder
A single feature:
bin/behat features/folder/filename.feature
A single scenario within a feature:
bin/behat features/teamname/filename.feature:7 where 7 represents the first line of the scenario. Exclude the tagname if present.
All tests with a certain tag:
bin/behat --tags @tagname
All tests except a certain tag:
bin/behat --tags ~tagname
Multiple tags:
bin/behat --tags "@tagname1&&@tagname2&&~@tagname3"
By adding an @javascript tag above the feature (for all the scenarios) or above a single scenario, the test will use Selenium and Firefox to run the test. These defaults can be changed in the behat.yml file.