osrm-backend/features/options/routed/invalid.feature

19 lines
661 B
Gherkin
Raw Normal View History

@routed @options @invalid
Feature: osrm-routed command line options: invalid options
2014-03-21 19:32:35 -04:00
Background:
Given the profile "testbot"
Scenario: osrm-routed - Non-existing option
2014-03-21 19:32:35 -04:00
When I run "osrm-routed --fly-me-to-the-moon"
Then stdout should be empty
And stderr should contain "unrecognised"
2014-03-21 19:32:35 -04:00
And stderr should contain "fly-me-to-the-moon"
2014-03-25 09:54:52 -04:00
And it should exit with code 1
2014-03-21 19:32:35 -04:00
Scenario: osrm-routed - Missing file
2014-03-21 19:32:35 -04:00
When I run "osrm-routed over-the-rainbow.osrm"
Then stderr should contain "over-the-rainbow.osrm"
2014-05-20 06:29:40 -04:00
And stderr should contain "not found"
2014-03-25 09:54:52 -04:00
And it should exit with code 1