An unused Examples data table column might hide a potential bug. Is this column there from a previously
used variable that is no longer necessary? In this case, the column can be safely removed. Or is it a step
parametrization implementation that has not been finished? In this case, the related step must be updated.
Scenario Outline: Add product to cart
Given I am a customer
When I add <number> products to my cart
Then I should see <number> products in my cart
Examples:
| number | type | # Noncompliant: Unused 'type' variable
| 1 | tea |
| 2 | coffee |
Scenario Outline: Add product to cart
Given I am a customer
When I add <number> products to my cart
Then I should see <number> products in my cart
Examples:
| number |
| 1 |
| 2 |
OR
Scenario Outline: Add product to cart
Given I am a customer
When I add <number> <type> items to my cart
Then I should see <number> <type> items in my cart
Examples:
| number | type |
| 1 | book |
| 2 | bike |