reorganizating tests into car/bike/foot

This commit is contained in:
Emil Tin
2012-09-30 14:40:59 +02:00
committed by Emil Tin
parent b23a89d5a8
commit d4352b84ac
34 changed files with 790 additions and 256 deletions
+44
View File
@@ -0,0 +1,44 @@
@routing @bicycle @names
Feature: Street names in instructions
Background:
Given the speedprofile "bicycle"
Scenario: A named street
Given the node map
| a | b |
| | c |
And the ways
| nodes | name |
| ab | My Way |
| bc | Your Way |
When I route I should get
| from | to | route |
| a | c | My Way,Your Way |
Scenario: Use way type to describe unnamed ways
Given the node map
| a | b | c |
And the ways
| nodes | highway | name |
| ab | cycleway | |
| bc | track | |
When I route I should get
| from | to | route |
| a | c | cycleway,track |
Scenario: Don't create instructions for every node of unnamed ways
Given the node map
| a | b | c | d |
And the ways
| nodes | highway | name |
| abcd | cycleway | |
When I route I should get
| from | to | route |
| a | d | cycleway |