To understand how we select ideas for development, please read about our Product Development Process.
Add support for multiple Examples tables for Scenario Outline.
Currently, if Scenario has multiple Examples tables, then only the first Examples table is being parsed by the BDD Feature Plugin. The rest of the Examples tables are being ignored.
Multiple Examples tables are supported by Cucumber itself and they can be tagged with different tags. This should be supported by the plugin as well.
It is very helpful feature in Cucumber and is commonly used actually. When you want to group and tag your test data, for example, when you have one scenario, which is testing 2 logical test cases, then you can have 2 Examples tables tagged by the test case name like in the example below.
Scenario Outline: Scenario1
Given assumptions
When the user performs an action with <input>
Then the system should give the expected result <output>
@TestCase1
Examples:
| input | output |
| 1 | 2 |
@TestCase2
Examples:
| input | output |
| 3 |4 |