osrm-backend/features/outlines.feature
2012-01-31 19:01:54 +01:00

26 lines
516 B
Gherkin

@outlines
Feature: Outlines
Scenario outlines is another way to test routes... not sure which method is best?
Scenario Outline: ways
Given the nodes
| a | | c |
| | b | |
And the ways
| nodes |
| ab |
| bc |
When I route from "<from>" to "<to>"
Then I should get the route "<route>"
Examples:
| from | to | route |
| a | c | abc |
| c | a | cba |
| a | b | ab |
| b | a | ba |
| b | c | bc |
| c | b | cb |