Some fixes to the live test suite #32

Merged
javier merged 4 commits from library/tests-fixes into main 2026-10-25 21:53:32 +00:00
Owner

This PR contains the work done to fix the live test suite, which started failing once the Amiibo API began returning Switch 2 games, and tidies the test suite around it.

Changes

  • Live tests: replaced the assertion that the first amiibo has no Switch 2 games with a usage check, matching the other platforms. The live data now includes Switch 2 entries for most amiibos.
  • Live tests: refreshed the minimum item counts and the earliest accepted last-updated date to the values observed in October 2026, and documented in the README how to refresh them.
  • All tests: moved test descriptions from @Test("...") strings into backticked function names, and aligned every case on the same GIVEN/WHEN/THEN structure.
  • Live client: replaced the TODO about DocC inherited docs with a note. The compiler does not inherit documentation for protocol witnesses, so the repeated doc comments stay on purpose.
This PR contains the work done to fix the live test suite, which started failing once the Amiibo API began returning Switch 2 games, and tidies the test suite around it. ### Changes - **Live tests:** replaced the assertion that the first amiibo has no Switch 2 games with a usage check, matching the other platforms. The live data now includes Switch 2 entries for most amiibos. - **Live tests:** refreshed the minimum item counts and the earliest accepted last-updated date to the values observed in October 2026, and documented in the README how to refresh them. - **All tests:** moved test descriptions from `@Test("...")` strings into backticked function names, and aligned every case on the same GIVEN/WHEN/THEN structure. - **Live client:** replaced the TODO about DocC inherited docs with a note. The compiler does not inherit documentation for protocol witnesses, so the repeated doc comments stay on purpose.
javier added the Kind/Bug
Priority
High
labels 2026-10-25 21:53:24 +00:00
javier self-assigned this 2026-10-25 21:53:24 +00:00
javier added 4 commits 2026-10-25 21:53:24 +00:00
javier merged commit 4cbac015b1 into main 2026-10-25 21:53:32 +00:00
javier deleted branch library/tests-fixes 2026-10-25 21:53:32 +00:00
Sign in to join this conversation.