Versions Compared

Key

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

...

Cucumber is a framework for behavior-driven development (BDD), where the test specification is done in the natural language, while the implementation of each specification's phrase phase (i.e., step) is done in code (e.g., Java, Ruby or some other language).

Xray provides the tool to create the specification inside Jira, although the implementation code itself is outside of Xray's scope.  

One key thing to mention note is that the current version of Xray only allows you to manage the Cucumber scenarios in Jira/Xray; thus, thus Jira will be used as the master of information.

...

In this workflow, Tests are created and managed in Jira, thus making Jira will be the master for the Cucumber scenarios.

...

Submission of Cucumber results says "No tests found in execution result"

Most probably youYou're probably trying to submit a Cucumber JSON results file without having previously created the Cucumber Tests (e.g., Scenario/Scenario Outline) in Jira.

...

Following this workflow is important because whenever you export the features from Jira, along with the corresponding Cucumber Scenarios/Scenario Outlines, the Scenarios will be tagged with labels that will allow Xray to map the results back to the proper entities in Jira.

Is it possible to automatically create

...

Cucumber tests

...

when submitting Cucumber results?

No. It's not possible to properly recreate the Cucumber Scenario/Scenario Outline/Background from a Cucumber result file in JSON format.

...

Our recommendation is to manage it in Jira and always edit the Cucumber Scenarios/Scenario Outlines/Backgrounds there or else ; otherwise, it will be hard to setupset up.