Skip to content

Instantly share code, notes, and snippets.

@emiltin
Last active January 4, 2016 19:29
Show Gist options
  • Save emiltin/8667163 to your computer and use it in GitHub Desktop.
Save emiltin/8667163 to your computer and use it in GitHub Desktop.
emil@emil-OptiPlex-7010:~/code/Project-OSRM$ cucumber -t @basic
Ruby version 2.0.0
Using default port 5000
Using the default profile...
@routing @basic
Feature: Basic Routing
Background: # features/testbot/basic.feature:4
Given the profile "testbot" # features/step_definitions/data.rb:1
@smallest
Scenario: A single way with two nodes # features/testbot/basic.feature:8
Given the node map # features/step_definitions/data.rb:19
| a | b |
And the ways # features/step_definitions/data.rb:58
| nodes |
| ab |
[warn] Process ../build/osrm-datastore could not request RAM lock
When I route I should get # features/step_definitions/routing.rb:1
| from | to | route |
| a | b | ab |
| b | a | ab |
Scenario: Routing in between two nodes of way # features/testbot/basic.feature:21
Given the node map # features/step_definitions/data.rb:19
| a | b | 1 | 2 | c | d |
And the ways # features/step_definitions/data.rb:58
| nodes |
| abcd |
[warn] Process ../build/osrm-datastore could not request RAM lock
When I route I should get # features/step_definitions/routing.rb:1
| from | to | route |
| 1 | 2 | abcd |
| 2 | 1 | abcd |
Scenario: Routing between the middle nodes of way # features/testbot/basic.feature:34
Given the node map # features/step_definitions/data.rb:19
| a | b | c | d | e | f |
And the ways # features/step_definitions/data.rb:58
| nodes |
| abcdef |
[warn] Process ../build/osrm-datastore could not request RAM lock
When I route I should get # features/step_definitions/routing.rb:1
| from | to | route |
| b | c | abcdef |
| b | d | abcdef |
| b | e | abcdef |
| c | b | abcdef |
| c | d | abcdef |
| c | e | abcdef |
| d | b | abcdef |
| d | c | abcdef |
| d | e | abcdef |
| e | b | abcdef |
| e | c | abcdef |
| e | d | abcdef |
Scenario: Two ways connected in a straight line # features/testbot/basic.feature:57
Given the node map # features/step_definitions/data.rb:19
| a | b | c |
And the ways # features/step_definitions/data.rb:58
| nodes |
| ab |
| bc |
[warn] Process ../build/osrm-datastore could not request RAM lock
When I route I should get # features/step_definitions/routing.rb:1
| from | to | route |
| a | c | ab,bc |
| c | a | bc,ab |
| a | b | ab |
| b | a | ab |
| b | c | bc |
| c | b | bc |
Scenario: 2 unconnected parallel ways # features/testbot/basic.feature:75
Given the node map # features/step_definitions/data.rb:19
| a | b | c |
| d | e | f |
And the ways # features/step_definitions/data.rb:58
| nodes |
| abc |
| def |
[warn] Process ../build/osrm-datastore could not request RAM lock
When I route I should get # features/step_definitions/routing.rb:1
| from | to | route |
| a | b | abc |
| b | a | abc |
| b | c | abc |
| c | b | abc |
| d | e | def |
| e | d | def |
| e | f | def |
| f | e | def |
| a | d | |
| d | a | |
| b | d | |
| d | b | |
| c | d | |
| d | c | |
| a | e | |
| e | a | |
| b | e | |
| e | b | |
| c | e | |
| e | c | |
| a | f | |
| f | a | |
| b | f | |
| f | b | |
| c | f | |
| f | c | |
Scenario: 3 ways connected in a triangle # features/testbot/basic.feature:114
Given the node map # features/step_definitions/data.rb:19
| a | | b |
| | | |
| | c | |
And the ways # features/step_definitions/data.rb:58
| nodes |
| ab |
| bc |
| ca |
[warn] Process ../build/osrm-datastore could not request RAM lock
When I route I should get # features/step_definitions/routing.rb:1
| from | to | route |
| a | b | ab |
| a | c | ca |
| b | c | bc |
| b | a | ab |
| c | a | ca |
| c | b | bc |
Scenario: 3 connected triangles # features/testbot/basic.feature:135
Given a grid size of 100 meters # features/step_definitions/data.rb:5
Given the node map # features/step_definitions/data.rb:19
| x | a | | b | s |
| y | | | | t |
| | | c | | |
| | v | | w | |
And the ways # features/step_definitions/data.rb:58
| nodes |
| ab |
| bc |
| ca |
| ax |
| xy |
| ya |
| bs |
| st |
| tb |
| cv |
| vw |
| wc |
[warn] Process ../build/osrm-datastore could not request RAM lock
When I route I should get # features/step_definitions/routing.rb:1
| from | to | route |
| a | b | ab |
| a | c | ca |
| a | c | ab |
| b | c | bc |
| b | c | ab,ab |
| b | a | ab |
| c | a | ca |
| c | a | bc |
| c | b | bc |
| c | b | bc,ax |
Tables were not identical (Cucumber::Ast::Table::Different)
./features/support/cucumber.rb:74:in `routing_diff!'
./features/step_definitions/routing.rb:104:in `/^I route I should get$/'
features/testbot/basic.feature:158:in `When I route I should get'
Scenario: To ways connected at a 45 degree angle # features/testbot/basic.feature:167
Given the node map # features/step_definitions/data.rb:19
| a | | |
| b | | |
| c | d | e |
And the ways # features/step_definitions/data.rb:58
| nodes |
| abc |
| cde |
[warn] Process ../build/osrm-datastore could not request RAM lock
When I route I should get # features/step_definitions/routing.rb:1
| from | to | route |
| b | d | abc,cde |
| a | e | abc,cde |
| a | c | abc |
| c | a | abc |
| c | e | cde |
| e | c | cde |
*** osrm-routed is not running. (RuntimeError)
./features/support/route.rb:24:in `rescue in request_path'
./features/support/route.rb:16:in `request_path'
./features/support/route.rb:31:in `request_route'
./features/step_definitions/routing.rb:40:in `block (3 levels) in <top (required)>'
./features/step_definitions/routing.rb:5:in `each'
./features/step_definitions/routing.rb:5:in `each_with_index'
./features/step_definitions/routing.rb:5:in `block (2 levels) in <top (required)>'
./features/support/launch.rb:16:in `block in load'
./features/support/launch.rb:13:in `chdir'
./features/support/launch.rb:13:in `load'
./features/step_definitions/routing.rb:4:in `/^I route I should get$/'
features/testbot/basic.feature:178:in `When I route I should get'
Scenario: Grid city center # features/testbot/basic.feature:187
Given the node map # features/step_definitions/data.rb:19
| a | b | c | d |
| e | f | g | h |
| i | j | k | l |
| m | n | o | p |
And the ways # features/step_definitions/data.rb:58
| nodes |
| abcd |
| efgh |
| ijkl |
| mnop |
| aeim |
| bfjn |
| cgko |
| dhlp |
[warn] Process ../build/osrm-datastore could not request RAM lock
When I route I should get # features/step_definitions/routing.rb:1
| from | to | route |
| f | g | efgh |
| g | f | efgh |
| f | j | bfjn |
| j | f | bfjn |
*** osrm-routed is not running. (RuntimeError)
./features/support/route.rb:24:in `rescue in request_path'
./features/support/route.rb:16:in `request_path'
./features/support/route.rb:31:in `request_route'
./features/step_definitions/routing.rb:40:in `block (3 levels) in <top (required)>'
./features/step_definitions/routing.rb:5:in `each'
./features/step_definitions/routing.rb:5:in `each_with_index'
./features/step_definitions/routing.rb:5:in `block (2 levels) in <top (required)>'
./features/support/launch.rb:16:in `block in load'
./features/support/launch.rb:13:in `chdir'
./features/support/launch.rb:13:in `load'
./features/step_definitions/routing.rb:4:in `/^I route I should get$/'
features/testbot/basic.feature:205:in `When I route I should get'
Scenario: Grid city periphery # features/testbot/basic.feature:212
Given the node map # features/step_definitions/data.rb:19
| a | b | c | d |
| e | f | g | h |
| i | j | k | l |
| m | n | o | p |
And the ways # features/step_definitions/data.rb:58
| nodes |
| abcd |
| efgh |
| ijkl |
| mnop |
| aeim |
| bfjn |
| cgko |
| dhlp |
[warn] Process ../build/osrm-datastore could not request RAM lock
When I route I should get # features/step_definitions/routing.rb:1
| from | to | route |
| a | d | abcd |
| d | a | abcd |
| a | m | aeim |
| m | a | aeim |
*** osrm-routed is not running. (RuntimeError)
./features/support/route.rb:24:in `rescue in request_path'
./features/support/route.rb:16:in `request_path'
./features/support/route.rb:31:in `request_route'
./features/step_definitions/routing.rb:40:in `block (3 levels) in <top (required)>'
./features/step_definitions/routing.rb:5:in `each'
./features/step_definitions/routing.rb:5:in `each_with_index'
./features/step_definitions/routing.rb:5:in `block (2 levels) in <top (required)>'
./features/support/launch.rb:16:in `block in load'
./features/support/launch.rb:13:in `chdir'
./features/support/launch.rb:13:in `load'
./features/step_definitions/routing.rb:4:in `/^I route I should get$/'
features/testbot/basic.feature:230:in `When I route I should get'
Scenario: Testbot - Triangle challenge # features/testbot/basic.feature:237
Given the node map # features/step_definitions/data.rb:19
| | | | d |
| a | b | c | |
| | | | e |
And the ways # features/step_definitions/data.rb:58
| nodes | highway | oneway |
| abc | primary | |
| cd | primary | yes |
| ce | river | |
| de | primary | |
[warn] Process ../build/osrm-datastore could not request RAM lock
When I route I should get # features/step_definitions/routing.rb:1
| from | to | route |
| d | c | de,ce |
| e | d | de |
*** osrm-routed is not running. (RuntimeError)
./features/support/route.rb:24:in `rescue in request_path'
./features/support/route.rb:16:in `request_path'
./features/support/route.rb:31:in `request_route'
./features/step_definitions/routing.rb:40:in `block (3 levels) in <top (required)>'
./features/step_definitions/routing.rb:5:in `each'
./features/step_definitions/routing.rb:5:in `each_with_index'
./features/step_definitions/routing.rb:5:in `block (2 levels) in <top (required)>'
./features/support/launch.rb:16:in `block in load'
./features/support/launch.rb:13:in `chdir'
./features/support/launch.rb:13:in `load'
./features/step_definitions/routing.rb:4:in `/^I route I should get$/'
features/testbot/basic.feature:250:in `When I route I should get'
Failing Scenarios:
cucumber features/testbot/basic.feature:135 # Scenario: 3 connected triangles
cucumber features/testbot/basic.feature:167 # Scenario: To ways connected at a 45 degree angle
cucumber features/testbot/basic.feature:187 # Scenario: Grid city center
cucumber features/testbot/basic.feature:212 # Scenario: Grid city periphery
cucumber features/testbot/basic.feature:237 # Scenario: Testbot - Triangle challenge
11 scenarios (5 failed, 6 passed)
45 steps (5 failed, 40 passed)
0m1.058s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment