From 0713ef5862934756fa9f81838857eb5b40b68e51 Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Wed, 16 Aug 2017 22:00:24 +0000 Subject: [PATCH] Add test cases for exclude and table/match service --- features/testbot/exclude.feature | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/features/testbot/exclude.feature b/features/testbot/exclude.feature index a780ab307..5f775b967 100644 --- a/features/testbot/exclude.feature +++ b/features/testbot/exclude.feature @@ -28,9 +28,18 @@ Feature: Testbot - Exclude flags | a | c | ab,bc,bc | | 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 Given the query options - | exclude | motorway | + | exclude | motorway | When I route I should get | from | to | route | @@ -39,6 +48,15 @@ Feature: Testbot - Exclude flags | a | c | ab,be,ef,fc,fc | | 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 Given the query options | exclude | toll |