Description
Whenever exporting Cucumber features, the Feature element must always have a definition. Normally this is obtained from the linked covered issue (e.g. story/requirement).
However, if Tests are not linked to a story, the "Feature:" element will be empty producing an invalid .feature file.
There we should have a default feature name (e.g. "default").
Feature: <some_text> Scenario Outline: Given I have entered <input_1> into the calculator And I have entered <input_2> into the calculator When I press <button> Then the result should be <output> on the screen Examples: | input_1 | input_2 | button | output | | 20 | 30 | add | 50 | | 2 | 5 | add | 7 | | 0 | 40 | add | 40 | | 4 | 50 | add | 54 | | 5 | 50 | add | 55 |
Attachments
Issue Links
- relates to
-
XRAY-9680 As an administrator, I can choose the Feature element name in the .feature file
- Shipped