Commit graph

251 commits

Author SHA1 Message Date
Jannis R
20d00ca3f0
add test: DB journeys() with polyline 2020-07-26 13:38:01 +02:00
Jannis R
a4dd763a46
E2E fixtures 2020-07-20 16:52:54 +02:00
Jannis R
dd88cea045
journeys E2E/integration tests: expect >=n results 2020-07-20 16:43:17 +02:00
Jannis R
c8928fb28d check in integration test fixtures 2020-06-15 15:39:09 +02:00
Jannis R
3109a92b19 improve E2E tests assertion output 2020-06-15 15:39:09 +02:00
Jannis R
5fd2c27a06 adapt E2E test to latest data 💚
also:
- skip RMV reachableFrom() E2E test 💚
2020-06-15 15:39:09 +02:00
Jannis R
fea27d3a4a tests: make requests deterministic 💚 2020-06-15 15:39:09 +02:00
Jannis R
0c3acaba46 integration testing using replayer 2020-06-15 15:39:09 +02:00
Jannis R
51b3ca3c20 tape@5, remove tape-promise 2020-06-15 15:39:09 +02:00
Jannis R
fc2e214bb7
add ÖBB trip() test 2020-06-11 16:12:18 +02:00
Julius Tens
57fc610a5f add tests for arrival parsing (db) 2020-06-09 18:02:33 +02:00
Julius Tens
3ca4a0c2b2 add provenance field on arrivals 2020-06-09 18:02:33 +02:00
Jannis R
542aa8caef parse DEVI journey legs 2020-05-31 12:38:07 +02:00
Jannis R
322004bdcd
DB: stop.facilities.raw as non-enumerable property 2020-05-21 17:55:01 +02:00
Jannis R
240df85bf6
parseLocation: parse parent station 2020-05-21 17:51:25 +02:00
Jannis R
0251e314cc
DB parseLocation() test: expect sub-stops, facilities, foreign IDs 2020-05-21 17:51:25 +02:00
Jannis R
d92eb154c2
parseLocation: give type: station to stops with stopLocL[] 2020-05-21 17:51:25 +02:00
Jannis R
1abafb5bd4
parseLocation: prevent endless recursive loops 2020-05-21 17:51:25 +02:00
Jannis R
76e310218a
parseLocation: parse entrances & sub-stops lists 2020-05-21 17:51:25 +02:00
Jannis R
87e5649f89
improve E2E test reliability 💚 2020-04-10 17:20:09 +02:00
Jannis R
9c4189a874 add E2E tests for SVV 2020-04-09 14:33:58 +02:00
Jannis R
17031f3e11
add SNCB/NMBS E2E tests 2020-03-19 13:05:11 +01:00
Jannis R
2cb6a0c32b
parseIcon, parseHint, parseLocation: handle more edge cases 🐛 2020-03-18 21:45:36 +01:00
Jannis R
36a8b388f2
add todos
also remove dead code
2020-03-18 21:45:30 +01:00
Jannis R
522248b908 add RSAG E2E tests 2020-03-12 19:01:03 +01:00
Jannis R
0ea2c01abe add RMV E2E tests 2020-03-12 19:00:02 +01:00
Jannis R
8540f5f610 add VBN E2E tests 2020-03-12 18:59:17 +01:00
Jannis R
682f9f948d add VBN profile 2020-03-12 18:59:17 +01:00
Julius Tens
c2b15fab50 add PKP e2e tests 2020-03-12 18:58:29 +01:00
Jannis R
299b5ac8ae INVG E2E tests 2020-03-12 18:57:07 +01:00
Jannis R
8c7f164fa3 parseLine: expose adminCode
The admin code is often helpful to distinguish lines that can't
be distinguished by their `operator.id`. See also #10.
2020-03-08 23:44:40 +01:00
Jannis R
3ea9380218 parseLocation: parse fare zone, transit authority & more foreign stop IDs
closes #131
see also #5, #90
2020-03-08 23:04:04 +01:00
Jannis R
2a241375db parseLocation: parse foreign stop IDs from I hints
`rRefL` seems to be used by older HAFAS endpoints, e.g. `ver: 1.11`.

see also #5, #90, #131
2020-03-08 23:04:04 +01:00
Jannis R
b9d5c85a54 tests: DB stop(), INSA stop() 2020-03-08 23:04:04 +01:00
Simeon Keske
738354d202
VSN: add E2E tests 2020-02-08 18:05:59 +01:00
Jannis R
e049aa3d04
parseWarning: fix parseMsgEvent 🐛 2020-01-15 18:17:06 +01:00
Jannis R
773035c05d
call formatProductsFilter via profile, use products from ctx.profile 💥 2020-01-05 18:10:10 +01:00
Jannis R
850cd9ce85
tests for formatProductsFilter 2020-01-05 18:10:10 +01:00
Jannis R
6d5c6081ce
request() via profile 💥 2020-01-05 18:10:09 +01:00
Jannis R
4652c1694e
fix test/throttle 💚 2020-01-05 18:10:09 +01:00
Jannis R
2cfee22287
tests: adapt to ctx-based parse fns 2020-01-05 18:10:09 +01:00
Jannis R
fb7a5653e3
parseProductsBitmask via profile, pass ctx into parse fns 💥 2020-01-05 18:10:09 +01:00
Jannis R
cc74f6a85b
tests for parse/* 2020-01-05 18:10:09 +01:00
Jannis R
9318007455
move profile E2E tests to test/e2e 2020-01-05 18:10:08 +01:00
Jannis R
99d1531dbb
adapt tests to c2dc874 2020-01-05 17:55:37 +01:00
Jannis R
2d1d482ddf
adapt tests to 938a6f2 2020-01-05 17:55:27 +01:00
Jannis R
2b9280e6c3
adapt tests to 29a2cf3 2020-01-05 17:55:16 +01:00
Jannis R
4162328fd4
createClient(): request parameter -> opt parameter 💥 2020-01-05 17:52:17 +01:00
Jannis R
655c425ecf
fix DB E2E tests 2020-01-05 17:52:17 +01:00
Jannis R
bff7384f06
basic parser tests 2020-01-05 17:51:27 +01:00