cuke: don't use scenario outlines, to fix problem with jenkins

This commit is contained in:
Emil Tin
2014-03-25 07:04:51 +01:00
parent aae3637e0c
commit b0ce9e4af7
2 changed files with 55 additions and 13 deletions
+8 -6
View File
@@ -4,14 +4,16 @@ Feature: Command line options: version
Background:
Given the profile "testbot"
Scenario Outline: Version
When I run "osrm-routed <program_options>"
Scenario: Version, short
When I run "osrm-routed --v"
Then stderr should be empty
And stdout should contain 1 line
And stdout should contain /v\d{1,2}\.\d{1,2}\.\d{1,2}/
And it should exit with code 0
Examples:
| program_options |
| -v |
| --version |
Scenario: Version, long
When I run "osrm-routed --version"
Then stderr should be empty
And stdout should contain 1 line
And stdout should contain /v\d{1,2}\.\d{1,2}\.\d{1,2}/
And it should exit with code 0