Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Add new BDD scenarios in AssertThat BDD Plugin

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

Table of Contents

...

Issue View.

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.

...

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)

...

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

...

...

Step 1: When the AssertThat plugin is enabled new options will be available from within the issues screen.  To add a new scenario from a user story, select the Add new scenario button.

...

Step 2: Select the feature to add the new scenario to, and update the details for Scenario name and steps.

...

Step 3: Complete the Scenarios detail by adding tags and setting the scenario as automated or manual. This setting is used by the plugin to determine if the scenario will be downloaded for Integration with Test Automation Frameworks.   

...

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.

...