Riven/tests
2021-06-30 16:40:35 -07:00
..
async_tests.rs Convert CRLF to LF 2021-06-30 16:40:35 -07:00
README.md Convert CRLF to LF 2021-06-30 16:40:35 -07:00
tests_americas.rs Add tests, fixes for tournament (stub) api 2021-05-21 21:59:51 -07:00
tests_euw.rs Convert CRLF to LF 2021-06-30 16:40:35 -07:00
tests_jp.rs Convert CRLF to LF 2021-06-30 16:40:35 -07:00
tests_kr.rs.ignored Convert CRLF to LF 2021-06-30 16:40:35 -07:00
tests_na.rs Convert CRLF to LF 2021-06-30 16:40:35 -07:00
tests_tr.rs Convert CRLF to LF 2021-06-30 16:40:35 -07:00
tests_val_latam.rs Use new routing instead of region 2021-05-21 21:25:19 -07:00
testutils.rs Convert CRLF to LF 2021-06-30 16:40:35 -07: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.