Fabien Girard
f2ee0aad20
Use now 3 parameters for matrix: loc/dst/src
2015-12-09 21:17:18 +01:00
Fabien Girard
478d4a571a
Support rectangular matrix with less sources than targets
2015-12-09 21:17:18 +01:00
Daniel Patterson
f87f18a291
Add support for 64bit OSM node id values.
2015-11-30 12:37:58 -08:00
Daniel Patterson
1536d1c044
Add bearing filter support to viaroute, trip, nearest, and distance
...
table plugins.
Make bearing range configurable by adding a comma-separated second part
to the bearing paramenter, like so:
b=<bearing:0-359>(,<range:0-180>)
If no range is supplied, it defaults to +/- 10 degrees.
2015-11-17 16:35:20 -05:00
Daniel Patterson
c7e30e2266
Add a summary to each match result showing distance and duration.
...
Helpful for comparing how long the routing engine thinks the matched
trace should take to travel.
2015-11-17 15:28:21 -05:00
Freenerd
55cad1b3ac
Refactor alternative route test
2015-09-23 15:54:23 +02:00
Freenerd
e1ac1c4fdc
Test that alternative route exists
...
Complement to a6b44a1470
2015-09-18 17:30:53 +02:00
Andreas Gruß
de29574314
tests + instructions for map matching
2015-09-11 01:34:10 +02:00
Lauren Budorick
5ac024788e
Parse specific restriction:* tags based on profile exceptions
2015-09-10 15:52:26 -07:00
Lauren Budorick
bac6703f8e
Implement raster source feature to read data from third-party sources, to be used in lua profiles.
...
* Adds a data structure, RasterSource, to store parsed + queryable data
* Adds bindings for that and relevant data structures as well as source_function and segment_function
* Adds relevant unit tests and cucumber tests
* Bring-your-own-data feature
2015-09-03 22:28:18 -07:00
Huyen Chau Nguyen
a71159667d
add cucumber test for the trip plugin
2015-09-01 15:20:35 +02:00
Lauren Budorick
0a53dccd4c
Use .round instead of .to_i for cucumber speeds
2015-08-25 00:06:57 +02:00
Andreas Gruß
d726ce6340
removed send_simple_request
2015-06-07 12:20:03 +02:00
Andreas Gruß
153d38f10c
post/get handler added, background section for HTTP request
2015-06-05 13:26:27 +02:00
Andreas Gruß
dce917eb74
post tests via query options available
2015-06-04 17:39:54 +02:00
Andreas Gruß
eb711787ae
tests added
2015-06-03 15:31:20 +02:00
Emil Tin
71197e1c89
remove last use of routing_diff
2015-04-30 18:29:56 +02:00
Emil Tin
1ed2c16a51
upgrade to cucumber 2.0
2015-04-30 18:15:46 +02:00
Patrick Niklaus
bc8666df83
Add tests for matching
2015-03-08 01:32:13 +01:00
Patrick Niklaus
7829e3c132
Add step definition and support code for matching
2015-03-05 00:12:26 +01:00
Emil Tin
a0b55f9df3
table tests: use empty string to mean no route
2015-01-03 11:12:47 +01:00
Emil Tin
67f68b47db
add fuzzy match to table tests, add more tests
2015-01-01 20:19:41 +01:00
Emil Tin
593808f24d
initial support for testing distance matrices
2015-01-01 15:12:45 +01:00
Dennis Luxen
9d14f81b79
set default timestamp for tests
2014-11-17 14:58:39 +01:00
Dennis Luxen
bdc611b23a
port timestamp test to libosmium
2014-11-17 14:58:34 +01:00
Emil Tin
1f4241a63d
smarter caching of test files
2014-10-17 15:07:56 +02:00
Emil Tin
71b967d243
test both datastore and direct data load
2014-10-14 15:35:14 +02:00
Emil Tin
7ba8e51fa9
use osrm-database during testing
2014-10-13 10:58:03 +02:00
Emil Tin
6e2608b2f2
fix cuke support file
2014-08-20 11:08:59 +02:00
Emil Tin
235a52032a
more tests passing
2014-08-20 11:08:42 +02:00
Emil Tin
73b32bb45e
enable setting query params in cuke tests
2014-07-22 13:24:26 +02:00
Emil Tin
dba9998118
update rspec matchers to use expect()
2014-06-30 20:43:51 +02:00
Guillaume Beraudo
6ee2d1103e
Remove duplicated point in polyline encoded data
...
First point was outputted twice.
Add test case.
2014-06-24 17:25:36 +02:00
Patrick Niklaus
4b81331d53
Don't reset response, so log_fail won't crash cucumber
2014-06-09 14:33:30 +02:00
Emil Tin
2cddf90e49
test different status message and query parsing
2014-05-07 10:38:28 +02:00
Emil Tin
85148d1283
tests covering no route found
2014-05-07 10:38:28 +02:00
Dennis Luxen
ca6515c58a
fix tests to reflect proper rounding of travel times
2014-04-25 13:23:27 +02:00
Emil Tin
a12209e61d
cuke: test options for osrm-extract and osrm-prepare
2014-04-21 17:40:07 +02:00
Emil Tin
df83dfdfe8
cuke: test travel time of individual instructions
2014-04-02 16:05:09 +02:00
Emil Tin
220e7748a9
cuke: use .osm by default, add tests for .pbf
2014-03-31 16:55:39 +02:00
Emil Tin
45c96f73c2
cuke test showing odd car speeds
2014-03-27 18:02:42 +01:00
Emil Tin
c5893ef6e8
cuke: check for invalid expectation formats
2014-03-27 17:32:37 +01:00
Emil Tin
8b1f09d302
cuke: test speed, fix logging, clear log files on each run
2014-03-27 10:38:03 +01:00
Emil Tin
cb1b824a75
cuke: improve routability tables, test for speed
2014-03-27 10:38:02 +01:00
Dennis Luxen
a4306cddef
remove NO-BREAK SPACE (U+00A0) that broke testing
2014-03-24 10:16:32 +01:00
Emil Tin
9e10b94339
cuke: test file options
2014-03-22 12:01:07 +01:00
Emil Tin
c1806476af
cuke: test osrm-routed options
2014-03-19 19:28:24 +01:00
Dennis Luxen
4fc4e93ab5
adapt tests to changed output, killed version and transactionId
2013-12-12 18:37:00 -05:00
Emil Tin
613e38d7f8
use boost program_options in osrm-prepare/routed
2013-10-12 09:59:42 +02:00
Emil Tin
6470838065
cleanup indentation of ruby files
2013-09-18 08:16:19 +02:00
Emil Tin
0f94fb9d6d
update foot profile, add tests for access, barriers, ferries, names, surface, more
2013-09-08 22:51:44 +02:00
Emil Tin
d78faea737
better regex for matching origin in cuke test
2013-09-01 21:48:19 +02:00
Emil Tin
3cf72e93e6
allow setting origin in cuke tests
2013-08-31 23:35:26 +02:00
Emil Tin
d17150270e
enable passing .osm file to cuke tests
2013-08-30 12:56:52 +02:00
Emil Tin
407d73a735
removing trailing whitespace in cuke/ruby files
2013-08-29 19:39:45 +02:00
Emil Tin
7a5bceae4c
tests for /locate
2013-08-26 22:25:43 +02:00
Dennis Luxen
f13694b539
fixing tests to reflect new r-tree data structure
2013-06-26 09:34:01 -04:00
Emil Tin
735260d21b
fix nearest test definition
2013-06-03 00:00:14 +02:00
Emil Tin
67addfdb37
test via points
2013-05-05 11:14:09 +02:00
Emil Tin
5eecd0a57d
cuke: keep number nodes locally, not in osm file
2013-04-13 11:38:41 +02:00
Emil Tin
8893fd1656
test for bearing param (todo)
2013-03-18 21:26:36 +01:00
Emil Tin
081831e6ea
test for mode flag (todo)
2013-03-18 15:51:41 +01:00
DennisOSRM
348e656671
Merge branch 'feature/opposite_direction' into develop
2013-02-04 18:38:15 +01:00
Emil Tin
d67ac1a708
fuzzy matching in routability tables, ported from opposite branch
2013-02-04 10:33:25 +01:00
Emil Tin
ccdd0f599a
test nearest API
2013-02-03 20:17:06 +01:00
Emil Tin
b3d517943a
fuzzy ranges on routability tables, value shortcuts
2013-02-03 14:03:37 +01:00
Emil Tin
86d7442a5f
support comments in test tables
2013-01-27 14:36:56 +01:00
Emil Tin
2e3947cc6d
support list of ways in relations tests
2013-01-10 17:05:41 +01:00
Emil Tin
102e87bcc0
clean up log extracts during cuke failures
2012-12-17 19:27:18 +01:00
Emil Tin
2231765c9e
fix empty dataset test
2012-12-16 14:10:33 +01:00
Emil Tin
ec56478a3c
cucumber cleanup, removed unused code
2012-12-16 13:36:47 +01:00
Emil Tin
ae106a3a90
improve cuke process management, support OSRM_PORT
2012-12-15 12:38:07 +01:00
Emil Tin
b10b716733
cuke testing of timestamp api
2012-12-10 17:05:22 +01:00
Emil Tin
e41d52570e
support testing of turn directions
2012-12-09 18:21:56 +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
599b96ed95
dont use cover?() in test, to support ruby 1.8
2012-10-10 17:51:10 +02:00
Emil Tin
7400e60599
allow nil tags in highway columns in tests
2012-10-05 15:52:44 +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
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
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
Emil Tin
334f02d7f8
add test for process error codes
2012-09-28 15:29:13 +02:00
Emil Tin
f9279a3646
move cuke origin to 1,1, add origin tests
2012-09-27 16:31:09 +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
Emil Tin
62c12e7473
add fuzzy range options to cucumber tests
2012-08-31 08:10:55 +02:00
Emil Tin
5ed9c41d5e
cuke_bearing
2012-05-14 22:06:56 +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
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
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
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
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
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
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
Emil Tin
ef9c3c8431
added tests for distance calculations (some are failing)
2012-02-18 18:08:42 +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
eeea5b0e81
Adds the cucumber test framework referenced in issues #26 , #95 , #114
2012-02-15 10:50:43 +01:00