or tag in cucumber code example
Example 1: tags in cucumber
--------------------------------------------------------------------
What is your tag strategy in Cucumber?
- I create different testing suites
using different tags.
- We can use multiple tags in the same
feature file to have the same feature file
be part of different testing suites as well.
- for ex:
Feature #1:
@Smoke @Regression @abc
- We use the "and - or - and not" keywords
to include or exclude specific tags from test runtime.
Example 2: how do you use tags in cucumber
--------------------------------------------------------------------
What is your tag strategy in Cucumber?
- I create different testing suites
using different tags.
- We can use multiple tags in the same
feature file to have the same feature file
be part of different testing suites as well.
- for ex:
Feature #1:
@Smoke @Regression @abc
- We use the "and - or - and not" keywords
to include or exclude specific tags from test runtime.