Riven/riven/tests
Mingwei Samuel 8e6073aa63 Regen, add rest of tests for `lol-challenges-v1`
Also adds Bel'Veth.
2022-05-25 18:27:48 -07:00
..
README.md Update example proxy for v2, use workspaces. 2021-09-09 14:31:39 -07:00
async_tests.rs Regen for match-v5.MatchInfoDto docs casing fix, update tests 2021-09-27 19:38:20 -07:00
tests_americas.rs Regen, add test & field `mejaisFullStackInTime` 2022-04-04 11:56:37 -07:00
tests_asia.rs Regen for match-v5.ParticipantDto optionals, consolidate/add match tests w/ invalid champion IDs 2021-12-29 10:50:13 -08:00
tests_europe.rs Add EUW1_5765650307 match test, regen 2022-04-04 11:00:40 -07:00
tests_euw.rs Release 2.5.1 2022-02-08 17:33:11 -08:00
tests_jp.rs Cleanup per clippy recommendations 2021-10-29 22:38:48 -07:00
tests_kr.rs.ignored Update example proxy for v2, use workspaces. 2021-09-09 14:31:39 -07:00
tests_la1.rs Regen, add rest of tests for `lol-challenges-v1` 2022-05-25 18:27:48 -07:00
tests_na.rs Regen for new queue enums, bugged LeagueEntry values 2021-11-19 18:53:32 -08:00
tests_tr.rs Update example proxy for v2, use workspaces. 2021-09-09 14:31:39 -07:00
tests_val_latam.rs Disable part of val_content_ranked_test, see #39 2022-05-19 00:00:52 -07:00
testutils.rs Fix parsing of Champion, improve error handling 2021-12-29 11:53:15 -08:00

README.md

Tests are divided up by region. This is because tests cannot share state, and therefore cannot share the rate limiting done within a RiotApi instance. However, rate limiting is separate for each region, so it is safe to send requests to different regions from different instances.

The tests within an individual file do share their RiotApi instance thanks to custom test runners and some macros I hacked together which are located in async_tests.rs. They are set up in a way to look like normal test output for fun and probably to confuse people.