Do AIO BDD/Gherkin testcases allow example tables?

Damian Copello
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 27, 2022

For our QA team it is very important to use Example tables in our BDD Gherkin test cases. I don't see this specified anywhere in the documentation so I'm not sure if that's given for granted or not. An example table would look like this:

Examples:

||Name|Surname|

||Peter|Smith|

||Sam|Robinson|

||Roger|Marks|

So then we can write steps like:

Given the user inputs <Name>

When the user inputs <Surname>

Then....

1 answer

0 votes
Niharika_AIO_Tests October 28, 2022

Hello Damian,

AIO Tests supports BDD examples in the below ways :

1. While importing feature files, examples get imported as separate cases with data replaced in step definition and scenario texts. So, if you have a scenario outline with 3 examples, then 3 testcases get created in AIO Tests.


2. On execution, while importing results from cucumber.json results file, each example of a scenario outline corresponds to one test. To better map results of scenario outline examples, AIO Tests creates/updates one test per example, so that the result can be reported against each of the executions and it matches the way cucumber generates its results file.


You can reach out to us at help@aioreports.com or via our support portal for further queries or schedule a demo with us and we would be happy to demo the Cucumber functionality as well as the rest of the application to you.


Regards,

Niharika (AIO Tests Team)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events