Riven/riven/tests
2024-01-15 12:01:32 -08:00
..
async_tests.rs Regen for match-v5.MatchInfoDto docs casing fix, update tests 2021-09-27 19:38:20 -07:00
README.md Update example proxy for v2, use workspaces. 2021-09-09 14:31:39 -07:00
test_ru.rs add test for LeagueV4 RU d3atomiz3d "CHERRY" QueueType 2024-01-04 09:57:50 -08:00
tests_americas.rs Remove archived match NA1_4097036960 test 2023-11-15 10:48:30 -08:00
tests_asia_jp.rs Add match test for new match-v5.ParticipantDto.riotIdGameName field 2023-11-22 09:37:27 -08:00
tests_europe.rs Remove old archived match IDs, add some new EUW1 match IDs 2023-08-27 13:29:04 -07:00
tests_euw.rs Re-enable, update spectator-v4 test 2024-01-15 12:01:32 -08:00
tests_euw_tft.rs update tft tests 2023-06-16 23:23:53 -07:00
tests_kr.rs.ignored add test for LeagueV4 RU d3atomiz3d "CHERRY" QueueType 2024-01-04 09:57:50 -08:00
tests_la1.rs cargo clippy fixes, enable lints in CI 2023-05-10 13:10:58 -07:00
tests_na.rs Update champion-master-v4 tests to use puuid 2023-12-26 22:21:47 -08:00
tests_ph2.rs cargo fmt 2023-05-10 13:10:58 -07:00
tests_sg2.rs cargo fmt 2023-05-10 13:10:58 -07:00
tests_th2.rs cargo fmt 2023-05-10 13:10:58 -07:00
tests_tr.rs cargo fmt 2023-05-10 13:10:58 -07:00
tests_tw2.rs.ignored Add status tests for new regions (except taiwan TW2) 2023-01-07 20:20:23 -08:00
tests_val_latam.rs Improved error message for val-content-v1 2023-09-21 23:30:27 -07:00
tests_vn2.rs cargo fmt 2023-05-10 13:10:58 -07:00
testutils.rs add test for LeagueV4 RU d3atomiz3d "CHERRY" QueueType 2024-01-04 09:57:50 -08:00

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.