Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Add new BDD scenarios in AssertThat BDD Plugin

New scenarios can be added either from the Features menu or 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.

image-20240227-140155.png

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-20240227-135925.png

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

image-20240227-140419.png

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

image-20240227-140528.png


Add new scenario from Issue View

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.

image-20240227-140853.png

Step 2: Add the scenario to an existing Feature or a new feature

To add to a new feature start typing the name or text from an existing Feature

image-20240227-141056.png

To add the scenario to a New Feature, start typing the name of the new Feature and select

image-20240227-141302.png

Step 3: Select the feature to add the new scenario to, and update the details for Scenario name and steps. Note you can use step Autocomplete to reuse existing steps (Ctrl-Space)

image-20240227-141520.png

When you have completed adding steps click on Save

Step 4: Click to expand / collapse to view the view full details of the Scenario

image-20240227-141752.png

Step 5: 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.   

image-20240227-141931.png

Step 6: If you wish to unlink or delete the scenario click on the respective buttons.

Note Delete is only available on newly created scenarios. If you wish to delete existing scenarios this can be done from the Features pages.

image-20240227-142109.png



  • No labels