reorganize options tests

This commit is contained in:
Emil Tin
2014-03-22 00:32:35 +01:00
parent 0b655ea6a1
commit c299989ff7
4 changed files with 107 additions and 47 deletions
+17
View File
@@ -0,0 +1,17 @@
@routing @options
Feature: Command line options: version
Background:
Given the profile "testbot"
Scenario: Version, short
When I run "osrm-routed -v"
Then it should exit with code 0
And stderr should be empty
And stdout should contain " v0."
Scenario: Version, long
When I run "osrm-routed --version"
Then it should exit with code 0
And stderr should be empty
And stdout should contain " v0."