Commit graph

277 commits

Author SHA1 Message Date
Jannis R
78a0f0fa54 mobiliteit.lu: E2E/integration tests 2020-12-27 02:00:44 +01:00
Jannis R
54b7d2845b mobiliteit.lu: fix national-train product bitmasks 🐛 2020-12-27 02:00:44 +01:00
Jannis R
6815c9eb3c SBB integration tests: check in mocks 2020-12-26 21:54:04 +01:00
Jannis R
bbf024dd3a SBB: add E2E/integration tests 2020-12-26 21:54:04 +01:00
Jannis R
2d3c0d6a94 E2E/integration validation logic: handle missing leg.alternatives[].when 2020-12-26 21:54:04 +01:00
Jannis R
17e08acfbb parseJourneyLeg parseAlternative: handle missing stopL[] 🐛, add tests 2020-12-26 21:54:04 +01:00
Jannis R
ed48971fb1 add remarks() 2020-11-28 11:25:43 +01:00
Jannis R
3e6d6d9917 add serverInfo(), E2E tests
see also #145
2020-11-28 11:25:43 +01:00
Jannis R
99e8bb313c VRN integration tests: add mocks 2020-11-26 23:29:21 +01:00
Jannis R
c0152d9605 VRN: add E2E/integration tests 2020-11-26 23:29:21 +01:00
Jannis R
66ff661767
parseJourneyLeg applyRemarks: handle legs without stopovers 🐛 2020-11-15 14:43:47 +01:00
Jannis R
6d4f29a3f9
nearby: support opt.products 2020-11-15 14:18:24 +01:00
Jannis R
fddf25a429
RMV integration tests: add missing mocks 2020-09-15 11:57:33 +02:00
Jannis R
c17bd5a541 integration tests: update mocks, add Rejseplanen mocks 2020-09-15 11:36:24 +02:00
Jannis R
68aaad1071 S-Bahn Munich: switch to 1.21 protocol 2020-09-15 11:36:24 +02:00
Jannis R
e6f25a6471 adapt E2E/integration tests to endpoint changes
- skip PKP tests (#184)
- Nah.sh, ÖBB, SVV: adapt tests to endpoint changes
- Nah.sh, RSAG, VBN: skip tests due to endpoint changes
- remove dead code

[ci skip]
2020-09-15 11:36:24 +02:00
Jannis R
b2a3ce4d66 E2E/integration tests: fix stopover & leg validation 🐛 2020-09-15 11:36:24 +02:00
Jannis R
c9f8cc680e E2E/integration tests: update mocked when 2020-09-15 11:36:24 +02:00
Jannis R
2d139c8235 improve E2E/integration test output 2020-09-15 11:36:24 +02:00
Jannis R
25fb25c18d parseLeg: use remarks without fIdx/tIdx 🐛 2020-09-15 11:36:24 +02:00
Jannis R
82de7409e8 Rejseplanen: add tests 2020-09-15 11:36:24 +02:00
Jannis R
a621fd6df4
minor tweaks 2020-09-10 23:57:03 +02:00
Jannis R
43bd9cf65b
integration tests: add new RMV fixtures 2020-09-09 21:06:23 +02:00
Jannis R
da01544b42
add test: VSN with platform objects
test for 5cddd40
2020-08-01 18:26:37 +02:00
Jannis R
097557c833 check in ZVV integration test fixtures 2020-07-31 12:14:22 +02:00
Jannis R
3f4c05d821 ZVV: E2E/integration tests 2020-07-31 12:14:22 +02:00
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