Create Scenario Outline

Add Scenario Outline in AssertThat BDD Plugin

In this page we will detail how to add new scenarios from the Features menu. Note that New Features and Scenarios can be added from Issue View.

Scenario Outlines are BDD scenarios that contain one or more examples. They are automatically recognised within the plugin when Examples are setup within the Scenario.

Add new scenarios from BDD Features pages

Step 1: Access the features menu.

Step 2: Select the Feature you would like to add the new Scenario to, by clicking on the Scenario title.

image-20240331-092008.png
Navigate to a BDD Feature in AssertThat

Step 3: Select the Add Scenario button from the menu.

Step 4: Complete Scenario Name (mandatory).  The scenario steps can be added now or at a later stage.  The Mode is set to Manual or Automated.  This setting is used by the plugin to determine if the scenario will be downloaded for Integration with Test Automation Frameworks.  AssertThat - BDD & Cucumber for Jira supports Scenario Examples syntax.

(Tip: Try ctrl-space for step autocomplete to reuse existing steps. Type 3 characters of the step then press ctrl-space)

image-20240331-092607.png
Add BDD scenarios native to Jira and reuse steps with Step Autocomplete

Step 5: Add Examples: to the scenario

When click on the Save Tick the Scenario will be automatically updated to Scenario Outline:

Step 5 - Enrich scenario with tags, and links to user stories.

Step 6 - Set the status of the scenario to Manual or Automated. Note it’s also possible to change the status of a scenario on Issue View and Scenario Manager.