Commit graph

1071 commits

Author SHA1 Message Date
Jannis R
82de7409e8 Rejseplanen: add tests 2020-09-15 11:36:24 +02:00
Jannis R
4d0605737f Rejseplanen profile 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
Hanns Adrian Böhme
9848dfa762
Update bitmasks 2020-09-09 21:06:20 +02:00
Jannis R
2a5a385515
changelog 📝, 5.7.1
[ci skip]
2020-09-09 15:26:10 +02:00
Jannis R
da01544b42
add test: VSN with platform objects
test for 5cddd40
2020-08-01 18:26:37 +02:00
Leo Maroni
2612494970
fix platform parsing with some profiles 🐛
closes #187
2020-08-01 18:26:30 +02:00
Jannis R
40df65f462
minor tweaks, changelog 📝, 5.7.0
[ci skip]
2020-08-01 13:14:16 +02:00
Jannis R
4fc4c3b873
fix H9360 error message 🐛 2020-08-01 13:08:53 +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
b2b1b75f04 add ZVV profile 2020-07-31 12:14:22 +02:00
Jannis R
e18fa7ccae
changelog 📝, 5.6.3
[ci skip]
2020-07-26 21:26:33 +02:00
Jannis R
20d00ca3f0
add test: DB journeys() with polyline 2020-07-26 13:38:01 +02:00
Jannis R
f9bfd6918a
parseJourneyLeg: parse jny.poly 🐛
fixes #186
2020-07-26 13:37:54 +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
2c04e2f728
journeys: async fn -> .then, don't check profile.journeysNumF 🐛 2020-07-20 16:42:51 +02:00
Jannis R
71db75df93
journeys: expose realtime data timestamp 2020-07-19 23:26:55 +02:00
Jannis R
51f4a66bd8
journeys: remove collection of results
Reverts 7fd574f.
See also https://github.com/public-transport/hafas-client/pull/23#issuecomment-370246163 .
2020-07-19 22:58:13 +02:00
Jannis R
5c05375650
let Git treat E2E test fixtures as binary data
This excludes the files from search and prevents unreadable diffs.

[ci skip]
2020-07-19 21:14:56 +02:00
Jannis R
c8928fb28d check in integration test fixtures 2020-06-15 15:39:09 +02:00
Jannis R
6f65d82edf document integration test workflow 📝
[ci skip]
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
6b275171b1 parseMovement: skip invalid stopL[] items 🐛 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
d2314e0d40 journeys: don't send outDate/outTime & ctxScr 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
3461573f31
changelog 📝, 5.6.2
[ci skip]
2020-06-13 00:11:01 +02:00
Jannis R
de896b1e96
parseCommon: respect opt.polyline 🐛
closes #181
2020-06-11 16:12:48 +02:00
Jannis R
fc2e214bb7
add ÖBB trip() test 2020-06-11 16:12:18 +02:00
Jannis R
dce42bfa31
move trip parsing into parse/trip 2020-06-11 15:34:20 +02:00
Jannis R
7c0be5ed74
tweak readme, changelog 📝, 5.6.1
[ci skip]
2020-06-10 15:08:47 +02:00
Jannis R
a8a9303e6f
nearby: return at most opt.results results 2020-06-10 15:00:49 +02:00
Jannis R
ee94c651dd
ÖBB: improve onCall product name 2020-06-10 14:59:20 +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
156de8e1c5
changelog 📝, 5.6.0
[ci skip]
2020-05-21 18:03:09 +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
9e75f42346
DB: parse Reisezentrum opening hours & station facilities 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
07c77f8cf9
add subStops & entrances options 2020-05-21 17:51:25 +02:00