Making your Drupal 10 kernel tests fail when there is an exception during cron
Several times in the past I've been caught out by Drupal's cron handler silently catching exceptions during tests.
Your test fails, and there is no clue as to why.
Read on to find out how to shine some light on this, by making your kernel tests fail on any exception during cron.