cucumber/cucumber-jvm — Issue #225: Eclipse's JUnit runner confused again
Author: gisode
Created: 2012-02-28 10:08:54+00:00
State: open

Context is the same as in #211.

Given

Scenario Outline: Outline 1
When foo
Then bar concerning

Examples:
| fluffy thing |
| a fluffy spiked club |

Scenario Outline: Outline 2
When foo
Then bang bang concerning

Examples:
| spiky thing |
| a fluffy spiked club |

The JUnit Descriptions of the `When foo` steps in both scenario outlines will be Java-equal because the scenario name in this case is the Examples row, which is the same for both outlines.

Any ideas how this could be fixed? We really need a unique identifier for steps to solve this once and for all. `hashCode()` springs to mind but is ugly.