Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Cucumber import appears to ignore steps and examples

jkindler
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!
September 9, 2020

When importing JSON files generated by Cucumber I expected that the option autoCreateTestCases=true would not only create the test case object, but also create the steps in the case and match success for the outcome in the execution object(s). That does not happen. I could understand that for JUnit imports as steps are not available, but  Cucumber reports have steps and steps have outcomes. So I wonder why they are ignored.

As I am using Cucumber with scenario outlines and examples, I am even more surprised that an example does not match to an execution, but there is only one execution. So the mapping appears to be on the outline level.

Am I doing something wrong here or does it mean that the cucumber endpoint is not able to deal with steps and examples ( meaning that I would have to write my own importer ) ?

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Dennis Schamne
May 12, 2021

Have you been able to find a clean solution to prevent the warning from popping up?

R_ Dekker
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!
May 12, 2021

No. I did not find a solution. It was so annoying that we switched to custom fields.

Also not the best solution because custom fields do not support the @mention method which is one of the most used function in de wiki-render fields in our teams.

TAGS
AUG Leaders

Atlassian Community Events