There are some tests for the cases generator in Tools/cases_generator/test_generator.py, but several things are wrong with these: - [x] They are currently broken - [x] They depend on pytest - [x] They aren't run in CI - [ ] They are incomplete Let's fix that (in that order). <!-- gh-linked-prs --> ### Linked PRs * gh-105707 * gh-106713 * gh-106927 * gh-106942 <!-- /gh-linked-prs -->