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