cuke: test speed, fix logging, clear log files on each run

This commit is contained in:
Emil Tin
2014-03-27 10:37:04 +01:00
parent cb1b824a75
commit 8b1f09d302
7 changed files with 71 additions and 25 deletions
+14 -1
View File
@@ -12,7 +12,20 @@ Feature: Testbot - speeds
| secondary | 18 km/h |
| tertiary | 12 km/h |
Scenario: Testbot - Speed on rivers
Scenario: Testbot - Speed on rivers, table
Then routability should be
| highway | forw | backw |
| river | 36 km/h | 16 km/h |
Scenario: Testbot - Speed on rivers, map
Given the node map
| a | b |
And the ways
| nodes | highway |
| ab | river |
When I route I should get
| from | to | route | speed | time | distance |
| a | b | ab | 36 km/h | 10s | 100m |
| b | a | ab | 16 km/h | 22s | 100m |