Riven/riven/tests
Mingwei Samuel 26adf882fb Adjust `match-v5` test for only one team's participants' IDs being returned 2023-04-01 22:38:33 -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 Disable failing tournamentstub test 2023-01-07 18:09:17 -08:00
tests_asia_jp.rs Adjust `match-v5` test for only one team's participants' IDs being returned 2023-04-01 22:38:33 -07:00
tests_europe.rs Add EUW1_5765650307 match test, regen 2022-04-04 11:00:40 -07:00
tests_euw.rs Consolidate EUW TFT tests, failing 2023-03-08 13:49:53 -08:00
tests_euw_tft.rs Consolidate EUW TFT tests, failing 2023-03-08 13:49:53 -08:00
tests_kr.rs.ignored Update example proxy for v2, use workspaces. 2021-09-09 14:31:39 -07:00
tests_la1.rs Add deny-unknown-enum-variants features 2022-06-20 20:43:16 -07:00
tests_na.rs Update `league_getforsummoner_tftbug` test 2023-04-01 21:47:05 -07:00
tests_ph2.rs Add status tests for new regions (except taiwan TW2) 2023-01-07 20:20:23 -08:00
tests_sg2.rs Add status tests for new regions (except taiwan TW2) 2023-01-07 20:20:23 -08:00
tests_th2.rs Add status tests for new regions (except taiwan TW2) 2023-01-07 20:20:23 -08:00
tests_tr.rs Update example proxy for v2, use workspaces. 2021-09-09 14:31:39 -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 Enable val latam test, add filter on parent id 2022-08-15 16:34:20 -07:00
tests_vn2.rs Add status tests for new regions (except taiwan TW2) 2023-01-07 20:20:23 -08:00
testutils.rs Adjust `match-v5` test for only one team's participants' IDs being returned 2023-04-01 22:38:33 -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.