I have been wondering why the JSON formatter for cucumber tends to put scenario outline example table row number rather than the example column data header and the example row data value which is more encompassing and descriptive. We push generated JSON report to a reporting tool called TestRail and this is a right headache when you want to know what exact scenario outline example was executed as you only see a number rather than something descriptive about the scenario outline example. Anyone else having this grind their gears? I have a simple PR i think would help fix this and make it look cleaner. https://github.com/cucumber/cucumber-ruby/pull/985Thoughts?
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Voke,I agree. I have experienced this issue and looked around for a bit. I came across a thread, which requested the data table headers to be substituted in Scenario titles to make it more descriptive and it already exists in Cucumber JAVA and Cucumber JS but not in the ruby version. For example:Scenario Outline: <user role> is allowed to make changesGiven I am logged in as <user role>Then I should be allowed to make changesExamples:|user role||admin user||super admin user|This would then print each outline example as:admin user is allowed to make changessuper admin user is allowed to make changesMuch more descriptive IMO. But I think Matt Wynne didn't like the idea at the time.