AIO Tests allows you to export BDD/Gherkin-based tests into feature files with ease. By exporting BDD cases to feature files, you can not only review the test cases offline but also share them with others who do not have access to test cases. use them directly as a source for writing step definitions in Cucumber or SpecFlow.
In this documentation, you’ll understand:
Table of Contents |
---|
Steps to Export BDD Cases
Step 1: To export BDD cases, simply click on the Cases option in the top bar menu.
...
Step 2: Click on the vertical ellipsis icon (⋮) and select the Export to Feature File option from the dropdown menu.
...
Info |
---|
Post fetching, requirement information, and the feature files will be downloaded in a zip format. Users need to unzip the downloaded file. |
...
Feature File/Scenario Details
The exported feature files have the below information based on the choice of organization:
...
AIO Test Case field | Translated to in feature file |
---|---|
Case key | Scenario tag eg. @AT-TC-121 |
Case title | Scenario/Scenario Outline name |
Case description | Scenario description |
Tags | Tags on each scenario |
Requirement | @JREQ-<storykey> eg. @JREQ-AT-1 |
Steps | Scenario Steps |
Examples | Examples |
Data | If pipe separated, then exported as datatable, else as docstring (encapsulated in ““) |
Exported File Example
The below file is exported when Organise by Requirements is selected.
Requirement key @JREQ-SCRUM-75 is the Jira requirement key as a feature-level tag.
The feature name is Requirement Summary, coming from the Jira Issue
Case keys are @TCMSTES-TC-327 and @TCMSTES-TC-329 added to each scenario
Tags of each case become scenario-level tags
Steps get added with corresponding keywords
...
For further queries and suggestions, feel free to reach out to our customer support via help@aiotests.com.