Add test case from @oxidase for datastore parameters
This commit is contained in:
parent
4610fd9ff1
commit
c2532b1589
20
features/options/datastore/datastore.feature
Normal file
20
features/options/datastore/datastore.feature
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
@datastore @options @help
|
||||||
|
Feature: osrm-datastore command line options: list
|
||||||
|
|
||||||
|
Background:
|
||||||
|
Given the profile "testbot"
|
||||||
|
And the node map
|
||||||
|
"""
|
||||||
|
a b
|
||||||
|
"""
|
||||||
|
And the ways
|
||||||
|
| nodes |
|
||||||
|
| ab |
|
||||||
|
And the data has been contracted
|
||||||
|
|
||||||
|
Scenario: osrm-datastore - Help should be shown when no options are passed
|
||||||
|
When I try to run "osrm-datastore --dataset-name test_dataset_42 {processed_file}"
|
||||||
|
Then it should exit successfully
|
||||||
|
When I try to run "osrm-datastore --list"
|
||||||
|
Then it should exit successfully
|
||||||
|
And stdout should contain "test_dataset_42/data"
|
Loading…
Reference in New Issue
Block a user