osrm-backend/features/options/contract/files.feature

23 lines
712 B
Gherkin
Raw Normal View History

@prepare @options @files
2016-02-14 13:35:37 -05:00
Feature: osrm-contract command line options: files
Background:
Given the profile "testbot"
And the node map
2016-09-30 03:33:08 -04:00
"""
a b
"""
And the ways
| nodes |
| ab |
And the data has been extracted
2016-02-14 13:35:37 -05:00
Scenario: osrm-contract - Passing base file
When I run "osrm-contract {processed_file}"
Then it should exit successfully
2014-04-21 11:20:15 -04:00
2016-02-14 13:35:37 -05:00
Scenario: osrm-contract - Missing input file
When I try to run "osrm-contract over-the-rainbow.osrm"
And stderr should contain "over-the-rainbow.osrm"
And stderr should contain "Missing/Broken"
And it should exit with an error