Reputation:
In my cucumber+watir+ruby tests I have the results of each going to results.html. I would like to use the feature name instead.
Something like:
<%= feature_name %>.html
Is this possible?
Upvotes: 1
Views: 1167
Reputation: 11244
scenario.feature.name
scenario.scenario_outline.feature.name
This should get you the name
Upvotes: 1