junit-interface icon indicating copy to clipboard operation
junit-interface copied to clipboard

Does not report failures in cucumber scenario outline results

Open alexmsmartins opened this issue 7 years ago • 4 comments

Cucumber tests with Data Tables will pass with failing examples as long as the first example passes.

This happens because all the examples have the same fully qualified name that comes from the scenario outline description.

I have submitted a PR to fix this #83 .

alexmsmartins avatar May 30 '18 07:05 alexmsmartins

I am sorry but, is this project dead?

alexmsmartins avatar Jul 25 '18 22:07 alexmsmartins

Same happens if two Cucumber scenarios have the same name.

See https://github.com/cucumber/cucumber-jvm-scala/issues/22

gaeljw avatar Apr 14 '20 10:04 gaeljw

Related: #95

lefou avatar May 20 '21 08:05 lefou

For anyone coming here, this issue is now "solved" by Cucumber since few versions as they implemented a unique name for each scenario with a suffix.

The underlying issue can still appear but not in Cucumber context.

gaeljw avatar May 20 '21 14:05 gaeljw