I have multiple scenarios listed in a feature file and I need to run only a single failing scenario (for debugging purposes).
I have mentioned @tag before the scenario but while in Test Runner file when given this tag it is running entire feature file. Please help me out how to put it correctly.
TEST Runner file -
tags={"@Islamic_User_check"},
Update: there is now a tags options
cucumber --tags @tagname
In maven:
mvn test -Dcucumber.filter.tags="@tagname"
(and in Windows powershell escape the -D with a backtick)
mvn test `-Dcucumber.filter.tags="@tagname"