Close GH-2795: Rewrite cucumber test caching (and support logic). Fixes #2745

This commit is contained in:
Patrick Niklaus
2016-09-19 14:13:44 -07:00
committed by Dane Springmeyer
parent 8522cddd61
commit 7d124ce54d
60 changed files with 871 additions and 1144 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ Feature: Handle bad data in a graceful manner
Given the ways
| nodes |
When the data has been contracted
Then "osrm-extract" should return code 1
When I try to run "osrm-extract {osm_file} --profile {profile_file}"
Then it should exit with an error
Scenario: Only dead-end oneways
Given the node map
-5
View File
@@ -1,5 +0,0 @@
@routing @testbot @bug
Feature: Known bugs
Background:
Given the profile "testbot"
+1 -1
View File
@@ -124,7 +124,7 @@ Feature: Basic Map Matching
1,2,36
"""
And the contract extra arguments "--segment-speed-file speeds.csv"
And the contract extra arguments "--segment-speed-file {speeds_file}"
When I match I should get
| trace | matchings | annotation |
@@ -26,7 +26,7 @@ Feature: Traffic - turn penalties applied to turn onto which a phantom node snap
1,2,5,0,comment
3,4,7,-20
"""
And the contract extra arguments "--turn-penalty-file penalties.csv"
And the contract extra arguments "--turn-penalty-file {penalties_file}"
When I route I should get
| from | to | route | speed | time |
| a | e | ab,be,be | 36 km/h | 40s +-1 |
+1 -1
View File
@@ -173,7 +173,7 @@ Feature: Via points
| c,d,a | abc,bd,bd,bd,abc,abc |
# See issue #2349
@bug @todo
@todo
Scenario: Via point at a dead end with oneway
Given the node map
| a | b | c |