osrm-backend/features/options/version.feature

18 lines
474 B
Gherkin
Raw Normal View History

2014-03-21 19:32:35 -04:00
@routing @options
Feature: Command line options: version
Background:
Given the profile "testbot"
2014-03-22 06:36:42 -04:00
Scenario Outline: Version
When I run "osrm-routed <program_options>"
Then stderr should be empty
2014-03-22 06:36:42 -04:00
And stdout should contain 1 line
And stdout should contain /v\d{1,2}\.\d{1,2}\.\d{1,2}/
And it should exit with code 0
2014-03-21 19:32:35 -04:00
2014-03-22 06:36:42 -04:00
Examples:
| program_options |
| -v |
| --version |