2014-04-21 09:24:42 -04:00
|
|
|
@prepare @options @invalid
|
2016-02-14 13:35:37 -05:00
|
|
|
Feature: osrm-contract command line options: invalid options
|
2014-04-21 09:24:42 -04:00
|
|
|
|
|
|
|
Background:
|
|
|
|
Given the profile "testbot"
|
2014-04-21 11:20:15 -04:00
|
|
|
|
2016-02-14 13:35:37 -05:00
|
|
|
Scenario: osrm-contract - Non-existing option
|
|
|
|
When I run "osrm-contract --fly-me-to-the-moon"
|
2014-04-21 09:24:42 -04:00
|
|
|
Then stdout should be empty
|
2014-04-21 13:25:24 -04:00
|
|
|
And stderr should contain "option"
|
2014-04-21 09:24:42 -04:00
|
|
|
And stderr should contain "fly-me-to-the-moon"
|
2014-04-21 11:20:15 -04:00
|
|
|
And it should exit with code 1
|