2014-04-21 09:24:42 -04:00
|
|
|
@extract @options @invalid
|
|
|
|
Feature: osrm-extract command line options: invalid options
|
|
|
|
|
|
|
|
Background:
|
|
|
|
Given the profile "testbot"
|
2014-04-21 11:20:15 -04:00
|
|
|
|
2014-04-21 09:24:42 -04:00
|
|
|
Scenario: osrm-extract - Non-existing option
|
2016-09-19 17:13:44 -04:00
|
|
|
When I try to run "osrm-extract --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"
|
2016-09-19 17:13:44 -04:00
|
|
|
And it should exit with an error
|