Tags are one of the key tools to organise your scenarios. As your feature files develop, tags provide a limitless way to organise your scenarios, a few examples of how they can be used are to identify functionality, to specify the test stage or the development status.
AssertThat - BDD, Cucumber & Cucumber Test Management for Jira provides the functionality to provide tags for:
Table of Contents |
---|
plugin Allows tags to be added at Feature, Scenario and Example level tags
Tags are inherited so for example
Feature tags apply for all Scenarios, Scenario Outline or Examples
Scenario outline tags apply for all Examples
Table of Contents |
---|
Tag types
Feature tags
Step 1: Access the AssertThat Feature menu
...
Step 2: Feature tags can be added from 2 places either on the main Features screen:
...
or or from within the feature: 524
...
Scenario or Scenario Outline tags
Step 1: Scenario and Scenario Outline tags are added in the scenarios screen:
...
Note that scenario outline tags are inherited for all examples.
Examples tags
Step 1: Examples tags are setup as follows:
...
...
How to organise tags
A few useful tips and guidance can be found in this blog post on how to Organise BDD Tags.