Commit Graph

1255 Commits

Author SHA1 Message Date
Emil Tin
7d7baa70a9 test routes parsing (@todo) 2013-01-10 17:06:16 +01:00
Emil Tin
2e3947cc6d support list of ways in relations tests 2013-01-10 17:05:41 +01:00
Emil Tin
54774726b2 test separate weight/speed, still marked as @todo 2013-01-10 14:00:48 +01:00
Emil Tin
d6adc56b3a add test for multiple except tag values in restrictions 2013-01-06 15:44:15 +01:00
Emil Tin
565b0e97d1 rename @weight test to @fastest 2013-01-06 11:51:45 +01:00
DennisOSRM
5de2aa1cbf fixing test and removing todo tag 2013-01-05 17:35:50 +01:00
Project OSRM
d2458f3169 Merge pull request #550 from ibikecph/lua_require
easy lua require()
2013-01-05 03:03:13 -08:00
Emil Tin
551af0e45a fix a few restrictions tests 2013-01-04 16:09:00 +01:00
Emil Tin
ff417fac01 update ferry tests 2013-01-01 18:41:38 +01:00
Emil Tin
ce43b09991 support lua require() 2012-12-28 22:40:00 +01:00
Emil Tin
d4db5cca1c fixing typo in forestry access 2012-12-23 19:32:26 +01:00
Emil Tin
9857fb7696 dont rehash binaries and profiles for every cucumber scenario 2012-12-19 16:09:05 +01:00
Emil Tin
102e87bcc0 clean up log extracts during cuke failures 2012-12-17 19:27:18 +01:00
Emil Tin
604043e3d8 add log extracts if osrm-routed or osmosis fails during tests 2012-12-17 19:22:05 +01:00
Emil Tin
5a5b4eb1f7 output last lines from log if binary exists during testing 2012-12-17 17:32:15 +01:00
DennisOSRM
f4a1d2df96 Allowing greater error instead of expected approximation result. 2012-12-17 13:54:03 +01:00
DennisOSRM
00ed039621 Moving TurnInstruction to unsigned char 2012-12-17 13:14:43 +01:00
Emil Tin
ac06a2ef03 remove angles from a test 2012-12-16 21:03:15 +01:00
Emil Tin
2ea5714d95 use ps to check if process is still running 2012-12-16 20:51:19 +01:00
Emil Tin
a51c7416d5 use ruby 1.9 and Process.spawn when running test 2012-12-16 19:45:26 +01:00
Emil Tin
2231765c9e fix empty dataset test 2012-12-16 14:10:33 +01:00
Emil Tin
18c948a211 rename stress tests 2012-12-16 13:39:28 +01:00
Emil Tin
ec56478a3c cucumber cleanup, removed unused code 2012-12-16 13:36:47 +01:00
Emil Tin
7e9614b9ec kill osrm-routed if it refuses to shutdown in cuke tests 2012-12-15 17:01:24 +01:00
Emil Tin
ae106a3a90 improve cuke process management, support OSRM_PORT 2012-12-15 12:38:07 +01:00
Emil Tin
29344f55ae fix osrm bin hashes 2012-12-15 12:38:07 +01:00
Emil Tin
cc7f761c3e revert to alt=true in cuke test 2012-12-10 17:05:22 +01:00
Emil Tin
b10b716733 cuke testing of timestamp api 2012-12-10 17:05:22 +01:00
Emil Tin
b0f035bf3c mark some tests as @todo 2012-12-10 13:08:26 +01:00
Emil Tin
e41d52570e support testing of turn directions 2012-12-09 18:21:56 +01:00
Emil Tin
b182cd1fa4 test bikes & public_transport stop_area relations 2012-12-03 11:06:25 +01:00
Emil Tin
6f5fc14f59 support regex in cuke tests 2012-12-03 10:59:24 +01:00
Emil Tin
f1d47328e9 support testing of all relation types 2012-11-30 13:40:21 +01:00
Emil Tin
9a865384a1 tests for except tag on turn restrictions 2012-11-28 18:43:07 +01:00
DennisOSRM
aed5848f5a Requesting instructions by default 2012-11-20 10:49:03 +01:00
Dennis Luxen
210f586d49 Removing deprecated API call from tests 2012-11-19 21:40:28 +01:00
Emil Tin
629cccc6e1 Merge remote-tracking branch 'origin/develop' into develop 2012-11-12 16:41:49 +01:00
Emil Tin
763cc86043 cuke: ignore maxspeed for cars when higher that way speed 2012-11-12 16:41:08 +01:00
Emil Tin
7493d8aa49 test ferry duration on part of route 2012-11-04 14:00:21 +01:00
Emil Tin
263dcbd188 test ferry durations 2012-11-02 15:57:20 +01:00
DennisOSRM
75561b8278 Fixes issues introduced with commit
48c6145bdf
2012-10-29 13:24:54 +01:00
Emil Tin
57dc1e03b1 bikes, handle parking areas and train platforms 2012-10-20 12:03:36 +02:00
Emil Tin
ad5b96d6f2 verify distance in traffic signal tests 2012-10-18 14:50:21 +02:00
Emil Tin
3a706cade7 in tests, use profile arg instead of copying file 2012-10-13 22:41:19 +02:00
Emil Tin
d9af615db9 remove incorrect @bicycle tag from car test 2012-10-11 19:22:49 +02:00
Emil Tin
c83ab666d7 bringing bikes on trains 2012-10-10 18:25:15 +02:00
Emil Tin
599b96ed95 dont use cover?() in test, to support ruby 1.8 2012-10-10 17:51:10 +02:00
Emil Tin
5c737709e2 test for bikes on trains 2012-10-05 16:28:19 +02:00
Emil Tin
7282e543ca test maxspeed for bicycles (yes it's possible) 2012-10-05 16:15:47 +02:00
Emil Tin
ea90627e02 simple test for routing on areas 2012-10-05 15:52:44 +02:00
Emil Tin
b95596d6b7 test for empty highway tag 2012-10-05 15:52:44 +02:00
Emil Tin
7400e60599 allow nil tags in highway columns in tests 2012-10-05 15:52:44 +02:00
DennisOSRM
6eab47d768 Fixing origin (0,0) tests 2012-10-05 15:25:12 +02:00
Emil Tin
3f039f59de add @todo tag to test for unimplemented features 2012-10-05 13:48:05 +02:00
Emil Tin
2a89aeecd8 handle cycleway tags 2012-10-05 12:09:03 +02:00
Emil Tin
fa9eeb95b6 remove test for travel time at 1m scale 2012-10-04 23:18:25 +02:00
Emil Tin
13069632be reduce expected precision in distance tests 2012-10-04 23:04:32 +02:00
Emil Tin
8e756a2476 tests for cycleways 2012-10-04 15:00:46 +02:00
Emil Tin
5e1dc11000 fix a few tests 2012-10-04 14:39:59 +02:00
Emil Tin
8e31b8860c more access tests combinations and other modes 2012-10-04 12:07:38 +02:00
Emil Tin
794c3490fe add test for acces hierachy on nodes 2012-10-04 11:38:29 +02:00
Emil Tin
216157e00d simply access hierachy test, add tests for implied access 2012-10-04 11:30:29 +02:00
Emil Tin
8e6b7766a1 parse access tag hierachy in bike profile 2012-10-04 08:36:14 +02:00
Emil Tin
59025ca2da add tests for hierachy of access tags 2012-10-03 22:56:41 +02:00
Emil Tin
17fab42f25 fix signal penalty test 2012-10-03 19:22:36 +02:00
Emil Tin
4b00557fda better handling of access and barrier tags 2012-10-03 19:14:44 +02:00
Emil Tin
30465f08ac make distance tests without +- work 2012-10-03 09:49:45 +02:00
Emil Tin
6fb2a41a0a adding a simple 100m distance test 2012-10-03 08:52:40 +02:00
Emil Tin
b70b74080e updates distance test, not using 10m steps anymore 2012-10-03 08:37:36 +02:00
Emil Tin
230fec9cdb add distance test with lots of small segments 2012-10-02 21:16:42 +02:00
Emil Tin
0994a7a20d Only dead-end oneways doesn't return error -1 anymore, fix test 2012-10-02 16:11:56 +02:00
Emil Tin
50d3c2c9d1 improve test for maxspeed 2012-10-02 13:46:40 +02:00
Emil Tin
82caa357cd update test for maxspeed to use motorway speed 2012-10-02 13:41:13 +02:00
Emil Tin
217fc4a0ae update planetery test to use meters 2012-10-02 13:36:48 +02:00
Emil Tin
ed8bc7ae58 fix grid city periphery test 2012-10-02 13:36:48 +02:00
Emil Tin
263409ed91 fix problem with meters and empty cells in tests 2012-10-01 18:30:32 +02:00
Emil Tin
7610af3378 distances must be specified in meters in tests 2012-10-01 18:13:44 +02:00
Emil Tin
97f04eae91 rewrite tests for access=destination 2012-10-01 16:18:36 +02:00
Emil Tin
1ad274ed2e more reorganizing of tests 2012-10-01 13:33:47 +02:00
Emil Tin
57d6af5486 update barrier tests 2012-10-01 12:36:06 +02:00
Emil Tin
d4352b84ac reorganizating tests into car/bike/foot 2012-10-01 12:36:06 +02:00
Emil Tin
b23a89d5a8 simplify barrier tests 2012-10-01 12:36:06 +02:00
Emil Tin
681d05f8f4 minor updates of weight tests 2012-10-01 12:36:06 +02:00
Emil Tin
81b9e3b4cb test access tags 2012-10-01 12:36:06 +02:00
Emil Tin
098454c875 testing of barrier nodes 2012-09-29 11:32:53 +02:00
Project OSRM
6f00e8c936 Merge pull request #459 from ibikecph/cuke_cache_names
add scenario names to cache files, makes it easier to inspect .osm files...
2012-09-28 13:14:54 -07:00
Emil Tin
585558a9ae add scenario names to cache files, makes it easier to inspect .osm files in JOSM 2012-09-28 21:23:13 +02:00
Emil Tin
6635d239b0 add tests using a grid of ways 2012-09-28 20:57:16 +02:00
Emil Tin
0fb747834b fix penalty test, now passing 2012-09-28 17:30:53 +02:00
Emil Tin
49b7fffd66 fix signal penalty scenario 2012-09-28 16:52:58 +02:00
Emil Tin
e69777d20a use 7s as signal penalty 2012-09-28 16:47:44 +02:00
Project OSRM
48cb43cc79 Merge pull request #454 from ibikecph/cuke_signal_penalty
clean up signal penalty test
2012-09-28 07:04:23 -07:00
Project OSRM
4229b22f86 Merge pull request #453 from ibikecph/cuke_move_bearing_test
move bearing test into right file
2012-09-28 07:04:14 -07:00
Emil Tin
eae9e4bab7 clean up signal penalty test 2012-09-28 15:58:46 +02:00
Emil Tin
c6dfc7723b move bearing test into right file 2012-09-28 15:41:52 +02:00
Emil Tin
334f02d7f8 add test for process error codes 2012-09-28 15:29:13 +02:00
Emil Tin
8cd28276ea testbot profile and update of time tests 2012-09-28 10:53:27 +02:00
Emil Tin
c0eb1d6967 test checking the range of nearest edge search 2012-09-27 17:12:05 +02:00
Project OSRM
e2b208280e Merge pull request #449 from ibikecph/cuke_origin
move cuke origin to 1,1, add origin tests
2012-09-27 07:47:42 -07:00
Emil Tin
f9279a3646 move cuke origin to 1,1, add origin tests 2012-09-27 16:31:09 +02:00
Emil Tin
c4326ffd0b adding nodes to make tests work 2012-09-27 14:48:29 +02:00
Emil Tin
85369d6310 test for nodes too close to the poles 2012-09-27 14:26:47 +02:00
Project OSRM
9a3735aa21 Merge pull request #445 from ibikecph/cuke_winding_distances
test showing problems with total distance on winding segments
2012-09-27 04:28:26 -07:00
Emil Tin
63229c9b3a test showing problems with total distance on winding segments 2012-09-27 13:24:23 +02:00
Emil Tin
5ec198b761 update test, dont route cars on ways with type road, since it means unclasified 2012-09-27 12:53:13 +02:00
Emil Tin
3c903ddffd clean up duplicated lua profiles 2012-09-27 11:35:56 +02:00
Emil Tin
dc029ebefd revive deleted uturn test 2012-09-27 11:07:41 +02:00
Project OSRM
bb09cac7f4 Merge pull request #441 from ibikecph/lua_bike_oneways_and_names
update bike profile - oneways and way names
2012-09-27 00:59:36 -07:00
Emil Tin
71d148caa8 update bike profile - oneways and way names 2012-09-27 08:46:36 +02:00
Emil Tin
e36a517e86 +-1m in distance tests, remove huge scale tests 2012-09-21 19:55:55 +02:00
Emil Tin
7e5d5a6d90 test compass and bearing as well 2012-09-21 16:07:53 +02:00
Emil Tin
51c0b129c9 cucumber tests showing spurious u-turn 2012-09-21 15:41:51 +02:00
Emil Tin
74cc50f52b update cucumber test to work with lua profiles 2012-09-19 19:01:11 +02:00
Emil Tin
1b581b1c17 cucumber test with specific lat/lon coordinates 2012-08-31 16:54:46 +02:00
Project OSRM
428783e183 Merge pull request #378 from emiltin/cuke_time_more_scales
add test at more grid scales
2012-08-31 01:20:37 -07:00
Emil Tin
62c12e7473 add fuzzy range options to cucumber tests 2012-08-31 08:10:55 +02:00
Emil Tin
ebafd25e77 add test at more grid scales 2012-08-21 19:23:57 +02:00
Project OSRM
b055334e73 Merge pull request #377 from emiltin/cuke_row_check
add two scenarios to check row-type test mechanism
2012-08-21 09:54:16 -07:00
Emil Tin
62951f3ab9 add two scenarios to check row-type test mechanism 2012-08-21 18:43:15 +02:00
Emil Tin
d6fd898101 readjust spacing to avoid risk of overflow 2012-08-21 18:02:36 +02:00
Emil Tin
41e7dbf205 larger spacing when testing individual ways, avoids picking wrong one 2012-08-21 16:44:30 +02:00
Emil Tin
ea1fb0a078 scenario that hangs on mac 2012-08-20 19:12:54 +02:00
DennisOSRM
df68c3ad48 Bearing is reported as integer only, fixes cucumber tests for issue #292 2012-06-11 16:36:33 +02:00
Project OSRM
b353df83ee Merge pull request #264 from emiltin/cuke_bearing
cuke_bearing
2012-05-30 00:20:45 -07:00
Emil Tin
63c6c06436 convert to protobuffer before loading into osrm 2012-05-25 14:13:00 +02:00
Emil Tin
5ed9c41d5e cuke_bearing 2012-05-14 22:06:56 +02:00
Project OSRM
86128892d7 Merge pull request #245 from emiltin/cuke_profiles
speedprofiles specifically for testing
2012-05-08 02:17:27 -07:00
Emil Tin
580a760aa1 speedprofiles specifically for testing 2012-05-05 17:05:55 +02:00
Emil Tin
f5da6a0e5f use .osrm.edges file in Rake task and cucumber tests 2012-05-05 16:12:58 +02:00
Emil Tin
f359927b09 osrm now returns codes intread of strings, handle this in tests 2012-04-17 15:22:55 +02:00
Emil Tin
c669d46efb ignore 'You have reached your destination' when parsing route instructions in cucumber tests 2012-04-12 16:47:43 +02:00
Emil Tin
b192fb9403 make sure oneway:<class> overrides standard oneway tag 2012-03-10 09:36:52 +01:00
Emil Tin
9dfbd5f671 tests for signal penalty. renamed 'given the nodes' to 'given the node map' and introduced new 'given the nodes' to set node tags 2012-03-08 14:10:28 +01:00
Emil Tin
f41495dc7a osrm-prepare still reads xml, so avoid converting to pfb format. avoids dependency on osmosis tool 2012-03-06 15:05:52 +01:00
Emil Tin
8200f889fb updated cucumber test to use loc= query params 2012-03-06 14:50:59 +01:00
Emil Tin
8b2c0030d0 update turn restrictions tests to use oneway streets, to avoid u-turns 2012-03-05 16:11:11 +01:00
Emil Tin
b0ecb869f2 updated turn restriction tests. use correct .osrm.restrictions file during tests. add tests for no-right-turn 2012-03-02 16:37:55 +01:00
Emil Tin
5ad4992816 fixed two distance tests, and added another for 1000km scales 2012-02-27 14:48:14 +01:00
Emil Tin
f841a7a25a reprocess data files during tests if osrm-routed binary has changed 2012-02-24 14:58:49 +01:00
Emil Tin
0984a669ce enable testing of way names, including ways with empty or missing name tags 2012-02-21 11:51:42 +01:00
Project OSRM
e6941df981 Merge pull request #126 from emiltin/test_grid_size
allow setting the grid space in tests
2012-02-21 01:22:02 -08:00
Project OSRM
632f344db5 Merge pull request #132 from emiltin/fix_snap_test
fix an invalid cuke test
2012-02-21 01:21:32 -08:00
Emil Tin
887092bacd allow setting the grid space in tests 2012-02-19 20:49:10 +01:00
Emil Tin
61aa095722 cuke testing of travel times 2012-02-19 20:42:14 +01:00
Emil Tin
e842c7b28b fix an invalid cuke test 2012-02-18 22:47:35 +01:00
Project OSRM
091cd57f68 Merge pull request #125 from emiltin/cuke_row_order
in cucumber tests, always show failed rows right below expected ones
2012-02-18 10:22:14 -08:00
Project OSRM
045b1e0cb8 Merge pull request #124 from emiltin/query_delimiter
update tests to use new query delimter ? instead of &
2012-02-18 10:21:57 -08:00
Project OSRM
4eaaf91794 Merge pull request #128 from emiltin/cuke_way_check
perform a sanity check on which ways are used during routability tests
2012-02-18 10:21:19 -08:00
Project OSRM
9542ab0482 Merge pull request #129 from emiltin/foot_speedprofile
add a speedprofile for walking, and a test for basic way accessability
2012-02-18 10:20:22 -08:00
Emil Tin
ef9c3c8431 added tests for distance calculations (some are failing) 2012-02-18 18:08:42 +01:00
Emil Tin
9eef17506d add a speedprofile for walking, and a test for basic way accessability 2012-02-18 16:46:57 +01:00
Emil Tin
801490b9fc perform a sanity check on which ways are used during routability tests 2012-02-18 16:22:54 +01:00
Emil Tin
695fecddeb in cucumber tests, always show failed rows right below expected ones 2012-02-18 14:52:48 +01:00
Emil Tin
429eb316d0 update tests to use new query delimter ? instead of & 2012-02-18 14:41:15 +01:00
Emil Tin
eeea5b0e81 Adds the cucumber test framework referenced in issues #26, #95, #114 2012-02-15 10:50:43 +01:00