Hello everyone!

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.


Commands


# Runs all tests
bin/behat
# Runs all frontend profile tests
bin/behat --profile=frontend
bin/behat @ApplicationFrontendBundle
# 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