Clean up features with Scenario Outlines
Originally created by @anonym on #10328 (Redmine)
Features with lots of similar scenarios, like time_syncing.feature
.
could certainly be improved with “Scenario Outlines”: https://cucumber.io/docs/gherkin/reference/.
Here’s why we could not do it in the past:
- https://issues.jenkins-ci.org/browse/JENKINS-21835
- https://github.com/jenkinsci/cucumber-testresult-plugin/pull/2
- https://github.com/cucumber/cucumber-ruby/pull/700
- https://github.com/cucumber-attic/gherkin2/issues/165
Since then, we’ve upgraded to Cucumber 2.4.0 on our CI and switched to the “Cucumber Reports” Jenkins plugin (sysadmin#17080 (comment 1868)). This screenshot suggests that it supports Scenario Outlines.
Another option could be to pass --expand
to cucumber
.
Parent Task: #10237 (closed)
Related issues
-
Blocked by sysadmin#10068 (closed) -
Blocked by sysadmin#17080 (closed)