Feature #10328
Clean up features with Scenario Outlines
0%
Description
Features with lots of similar scenarios, like time_syncing.feature
. could certainly be improved with “Scenario Outlines”: https://github.com/cucumber/cucumber/wiki/Scenario-Outlines.
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 (Bug #17080#note-12). This screenshot suggests that it supports Scenario Outlines.
Another option could be to pass --expand
to cucumber
.
Subtasks
Related issues
Blocked by Tails - |
Resolved | 2018-01-08 | |
Blocked by Tails - |
Resolved |
History
#1 Updated by anonym 2015-10-03 03:19:49
- Parent task set to Feature #10237
#2 Updated by intrigeri 2016-11-18 09:12:48
- blocked by
Bug #10068: Upgrade to Jenkins 2.x, using upstream packages added
#3 Updated by intrigeri 2018-09-12 17:05:44
FWIW I’ve just hit the Jenkins 1.x limitation again when working on the VeraCrypt test suite: I can’t use scenario outlines so I’ll have to duplicate one scenario ~8 times and another one ~6 times.
#4 Updated by intrigeri 2019-09-07 06:30:04
- Description updated
#5 Updated by intrigeri 2019-09-07 06:31:02
- related to Feature #10329: Improve gherkin in our features added
#6 Updated by intrigeri 2019-09-07 06:31:36
- related to deleted (
Feature #10329: Improve gherkin in our features)
#7 Updated by intrigeri 2019-09-21 08:33:44
- Description updated
#8 Updated by intrigeri 2019-09-21 08:35:56
- Description updated
#9 Updated by intrigeri 2019-09-21 08:49:36
- related to
Bug #17080: Upgrade Cucumber on Jenkins isotesters added
#10 Updated by intrigeri 2019-09-22 04:50:47
- related to deleted (
)Bug #17080: Upgrade Cucumber on Jenkins isotesters
#11 Updated by intrigeri 2019-09-22 04:50:53
- blocked by
Bug #17080: Upgrade Cucumber on Jenkins isotesters added
#12 Updated by intrigeri 2019-09-22 16:18:01
- Description updated
The sysadmin team solved the blockers so in theory, we should now be able to use Scenario Outlines. Untested though!