1.

What Are Cucumber Tags? Why We Use The Tags?

Answer»

CUCUMBER tags used to filter the scenarios. We can tag the scenarios and we can execute the scenarios based on tags, We can ADD tags to scenarios with @ We can use following command to execute a cucumber tagged scenarios.

cucumber FEATURES -t @<tag_name>

EX: cucumber features -t @test

cucumber tags used to filter the scenarios. We can tag the scenarios and we can execute the scenarios based on tags, We can add tags to scenarios with @ We can use following command to execute a cucumber tagged scenarios.

cucumber features -t @<tag_name>

Ex: cucumber features -t @test



Discussion

No Comment Found