Adds the cucumber test framework referenced in issues #26, #95, #114

This commit is contained in:
Emil Tin
2012-02-14 17:21:07 +01:00
committed by DennisOSRM
parent 84b35f47a1
commit eeea5b0e81
28 changed files with 1818 additions and 1 deletions
+29
View File
@@ -0,0 +1,29 @@
@routing @weight
Feature: Choosing route based on length, speed, etc
Scenario: Pick the geometrically shortest route, way types being equal
Given the nodes
| | s | |
| | t | |
| a | | b |
And the ways
| nodes |
| atb |
| asb |
When I route I should get
| from | to | route |
| a | b | atb |
| a | b | atb |
Scenario: Pick the fastest way type, lengths being equal
Given the nodes
| a | s |
| p | b |
And the ways
| nodes | highway |
| apb | primary |
| asb | secondary |