Riven/riven/tests
Mingwei Samuel b4f6c67994 add ValQueue enum 2024-04-21 20:13:26 -07:00
..
README.md Update example proxy for v2, use workspaces. 2021-09-09 14:31:39 -07:00
test_ru.rs feat: add wasm testing (#63) 2024-02-24 21:42:06 -08:00
tests_americas.rs test: remove expired `NA1_4265913704` match test 2024-03-08 11:01:14 -08:00
tests_asia_jp.rs test: update tests and documentation for removal of summoner names 2024-04-10 15:28:40 -07:00
tests_europe.rs test: Add `EUW1_6852390800` to match test 2024-03-15 14:58:59 -07:00
tests_euw.rs test: remove `spectator-v4` tests 2024-04-08 12:09:30 -07:00
tests_euw_tft.rs test: update tests and documentation for removal of summoner names 2024-04-10 15:28:40 -07:00
tests_kr.rs.ignored chore: replace `lazy_static` with std `OnceLock` 2024-02-24 09:46:11 -08:00
tests_la1.rs feat: add wasm testing (#63) 2024-02-24 21:42:06 -08:00
tests_na.rs test: add `champion-master-v4` test for old summoner 2024-04-17 10:28:09 -07:00
tests_ph2.rs test: stop print spamming platform data tests 2024-03-05 10:07:56 -08:00
tests_sea.rs Add an example test for `ParticipantMissions` returning PascalCase #65 2024-03-18 16:57:18 -07:00
tests_sg2.rs test: stop print spamming platform data tests 2024-03-05 10:07:56 -08:00
tests_th2.rs test: add spectator tests to `th2` 2024-03-23 22:19:53 -07:00
tests_tr_europe.rs test: update tests and documentation for removal of summoner names 2024-04-10 15:28:40 -07:00
tests_val_latam.rs fixup! test: rearrange, add Valorant tests 2024-04-20 20:50:36 -07:00
tests_val_match_latam_na_br.rs add ValQueue enum 2024-04-21 20:13:26 -07:00
tests_vn2.rs test: stop print spamming platform data tests 2024-03-05 10:07:56 -08:00
testutils.rs test: rearrange, add Valorant tests 2024-04-20 20:46:24 -07: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.