27/08/2014 - BEHAT
We have been investing plenty of personal time and energy for many years to share our knowledge with you all. However, we now need your help to keep this blog running. All you have to do is just click one of the adverts on the site, otherwise it will sadly be taken down due to hosting etc. costs. Thank you.
To run tests, you can use commands below.
# Runs all tests
# Runs all frontend profile tests
# Runs all scenarios in only Home.feature of frontend profile
bin/behat --profile=frontend Home.feature
bin/behat @ApplicationFrontendBundle --name="First line of description of Feature tag in feature file itself"
# Runs given scenario on given line in only Home.feature of frontend profile
bin/behat --profile=frontend Home.feature:10
# Runs all scenarios that starts with @TAG_NAME in frontend profile
bin/behat --profile=frontend --tags=TAG_NAME