Skip to content

Commit

Permalink
Better test coverage for datastore options
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMarex committed Apr 6, 2018
1 parent a5a364f commit c1f39a8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions features/options/datastore/datastore.feature
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,13 @@ Feature: osrm-datastore command line options
Then it should exit successfully
When I try to run "osrm-datastore {processed_file} --dataset-name cucumber/only_metric_test --only-metric"
Then it should exit successfully

Scenario: osrm-datastore - Displaying help should work
When I try to run "osrm-datastore {processed_file} --help"
Then it should exit successfully

Scenario: osrm-datastore - Errors on invalid path
When I try to run "osrm-datastore invalid_path.osrm"
Then stderr should contain "[error] Config contains invalid file paths."
And stderr should contain "Missing/Broken"
And it should exit with an error

0 comments on commit c1f39a8

Please sign in to comment.