Add test cases for exclude and table/match service
This commit is contained in:
parent
bee1ba8854
commit
0713ef5862
@ -28,9 +28,18 @@ Feature: Testbot - Exclude flags
|
|||||||
| a | c | ab,bc,bc |
|
| a | c | ab,bc,bc |
|
||||||
| a | f | ab,be,ef,ef |
|
| a | f | ab,be,ef,ef |
|
||||||
|
|
||||||
|
When I match I should get
|
||||||
|
| trace | matchings | duration |
|
||||||
|
| ad | ad | 115 |
|
||||||
|
|
||||||
|
When I request a travel time matrix I should get
|
||||||
|
| | a | d |
|
||||||
|
| a | 0 | 115 |
|
||||||
|
| d | 115 | 0 |
|
||||||
|
|
||||||
Scenario: Testbot - exclude motorway
|
Scenario: Testbot - exclude motorway
|
||||||
Given the query options
|
Given the query options
|
||||||
| exclude | motorway |
|
| exclude | motorway |
|
||||||
|
|
||||||
When I route I should get
|
When I route I should get
|
||||||
| from | to | route |
|
| from | to | route |
|
||||||
@ -39,6 +48,15 @@ Feature: Testbot - Exclude flags
|
|||||||
| a | c | ab,be,ef,fc,fc |
|
| a | c | ab,be,ef,fc,fc |
|
||||||
| a | f | ab,be,ef,ef |
|
| a | f | ab,be,ef,ef |
|
||||||
|
|
||||||
|
When I match I should get
|
||||||
|
| trace | matchings | duration |
|
||||||
|
| ad | ad | 125 |
|
||||||
|
|
||||||
|
When I request a travel time matrix I should get
|
||||||
|
| | a | d |
|
||||||
|
| a | 0 | 125 |
|
||||||
|
| d | 125 | 0 |
|
||||||
|
|
||||||
Scenario: Testbot - exclude toll
|
Scenario: Testbot - exclude toll
|
||||||
Given the query options
|
Given the query options
|
||||||
| exclude | toll |
|
| exclude | toll |
|
||||||
|
Loading…
Reference in New Issue
Block a user