Versions Compared

Key

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

One of the key features benefits of AssertThat - BDD, Cucumber & 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 that makes it easy for the product owner, development and test teams to easily collaborate and develop the user story.

AssertThat - BDD & Cucumber for Jira presents all the feature files and scenarios in one place under the features menu.  The With AssertThat, BDD scenarios can be linked to the user story , updated or new scenarios added from within the user story.

Scenarios can be developed either from within the Features Menu, or by adding Scenarios to feature files from within the User story. 

Table of Contents

Display AssertThat plugin on Issue View

Step 1: When the plugin is first enabled you may need to switch on the AssertThat functionality on the Issue view, by clicking on the page

...

...

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.

Table of Contents

Link existing scenarios to Jira tickets

Scenarios can be linked to User Stories (or any Jira Issues) on the Issue View as detailed below. It is also possible to link user stories to Scenarios from the Features pages

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

...

Step 2: 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 part of the feature name to display Feature name and you will be presented with a list of features to select from. Then click on the feature name.

...

Step 3: From the drop down select the Feature file for the Scenario.  From the Scenario drop down select the Scenario or Select All Scenarios to be linked to the User Story

...

Step 4: When you have selected the scenarios from the list of scenarios in the feature file then select Save.  The scenarios will be linked to the user story.

...

Add new features from issue view

Step 1: To add a new feature from issue view simply start typing the new feature name. If the feature name doesn’t exist the the Add as new feature link will be displayed and a new feature will be setup.

...

Unlink scenario from user story

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

...

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.  

...

available Features from the drop-down (note a minimum of 3 characters need to be entered)

...

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

...

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

...

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

...

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

...