Skip to content

Instantly share code, notes, and snippets.

@emiltin
Created January 28, 2014 13:09
Show Gist options
  • Save emiltin/8667323 to your computer and use it in GitHub Desktop.
Save emiltin/8667323 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 |
| c | b | ab |
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:66:in `When I route I should get'
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 |
| f | e | abc,abc |
| a | d | |
| a | d | abc |
| d | a | |
| d | a | abc |
| b | d | |
| d | b | |
| c | d | |
| d | c | |
| a | e | |
| e | a | |
| b | e | |
| b | e | abc |
| e | b | |
| e | b | abc |
| c | e | |
| c | e | abc |
| e | c | |
| e | c | abc |
| a | f | |
| a | f | abc |
| f | a | |
| f | a | abc |
| b | f | |
| b | f | abc |
| f | b | |
| f | b | abc |
| c | f | |
| c | f | abc |
| f | c | |
| f | c | abc |
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:85:in `When I route I should get'
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 |
| b | c | bc |
| b | a | ab |
| c | a | ca |
| c | b | bc |
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 | e | abc |
| a | c | abc |
| c | a | abc |
| c | e | cde |
| c | e | abc |
| e | c | cde |
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: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 |
| g | f | abcd,abcd |
| f | j | bfjn |
| f | j | abcd |
| j | f | bfjn |
| j | f | abcd |
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: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 |
| a | m | abcd |
| m | a | aeim |
| m | a | efgh |
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: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 |
Failing Scenarios:
cucumber features/testbot/basic.feature:57 # Scenario: Two ways connected in a straight line
cucumber features/testbot/basic.feature:75 # Scenario: 2 unconnected parallel ways
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
11 scenarios (5 failed, 6 passed)
45 steps (5 failed, 40 passed)
0m13.097s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment