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 17 Current »

One of the key benefits of AssertThat BDD, Cucumber & Test Management for Jira is that the BDD scenarios and user stories are available in one place - Native to Jira.  The BDD scenarios are presented alongside the user story in a format which makes it easy for the product owner, development and test teams to easily collaborate and develop the user story.

With AssertThat, BDD scenarios can be linked to the user story in 3 places within the App

  • Features pages

  • Scenario Manager

  • Issue View

In this section we will detail how scenarios can be linked to Jira Issues in Issue View.

Note BDD scenarios can be linked to any Jira Issue Type.

Link existing scenarios to Jira tickets

Scenarios can be linked to User Stories (or any Jira Issues) on the Issue View as detailed below.

Step 1 - For new user Stories display the AssertThat BDD fields by clicking on Acceptance Tests.

image-20240401-081017.png

Step 2: Open the user story and click on Select Scenario under Acceptance Tests

image-20240401-081354.png

Step 3: Search for Scenario - You are now presented with a number of options to filter for the scenario you want to link:

Search by Feature name - Start typing the Feature name and you will be presented with a list of available Features from the drop down (note a minimum of 3 characters need to be entered)

image-20240401-081538.png

Search by tag expression - this is optional - as you can see from the below screenshot a list of all the scenarios is listed in the scenarios box. In some circumstances there may be many scenarios in a feature and using tags can help filter the ones you wish to link to. You can start typing in the tags to further filter on the tags as shown below

image-20240401-081720.png

Manual / Automated tick box - Again scenarios can be further filted based on if they are Manual or Automated.

image-20240401-081840.png

Filter by Scenario name - Enter minimum 3 chars

image-20240401-082051.png

Step 3: Select the scenarios to link, and the Save can then be selected.

image-20240401-082433.png

On clicking Save the BDD Scenarios will be linked to the Jira ticket under the Acceptance tests.

image-20240401-082711.png

Add new features and Scenarios from issue view

Step 1: Select Add new scenario on issue view

image-20240401-083322.png

Step 2: To add a new scenario to an existing Feature search for the Feature name

image-20240401-083526.png

Alternatively to create a new feature simply type the name of the new Feature

image-20240401-084338.png

Step 3: Enter scenario title and steps. Note that the same Hot key shortcuts are available on issue view as per the features page to support building of BDD scenarios

image-20240401-083904.png

Unlink scenario from user story

Step 1: To unlink the scenario from the user story, click the unlink button:

image-20240401-084442.png

Set the scenario to automated or manual

Step 1: When the scenario is linked to the user story, complete the Scenarios detail by adding tags and setting the scenario as automated or manual which is required to Exporting Feature files for Automated Test Execution.  

image-20240401-084542.png

  • No labels