implementing option tests marked @todo

This commit is contained in:
Dennis Luxen
2014-04-21 17:20:15 +02:00
parent 61d2a99dd4
commit c978364f49
8 changed files with 49 additions and 52 deletions
+1 -2
View File
@@ -22,8 +22,7 @@ Feature: osrm-extract command line options: files
When I run "osrm-extract --profile {profile} {base}.osm"
Then stderr should be empty
And it should exit with code 0
@todo
Scenario: osrm-extract - Missing input file
When I run "osrm-extract over-the-rainbow.osrm --profile {profile}"
And stderr should contain "over-the-rainbow.osrm"
+2 -3
View File
@@ -3,8 +3,7 @@ Feature: osrm-extract command line options: help
Background:
Given the profile "testbot"
@todo
Scenario: osrm-extract - Help should be shown when no options are passed
When I run "osrm-extract"
Then stderr should be empty
@@ -45,4 +44,4 @@ Feature: osrm-extract command line options: help
And stdout should contain "--profile"
And stdout should contain "--threads"
And stdout should contain 12 lines
And it should exit with code 0
And it should exit with code 0
+1 -2
View File
@@ -3,8 +3,7 @@ Feature: osrm-extract command line options: invalid options
Background:
Given the profile "testbot"
@todo
Scenario: osrm-extract - Non-existing option
When I run "osrm-extract --fly-me-to-the-moon"
Then stdout should be empty