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

21 lines
681 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
| 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 "not found"
And it should exit with an error