I assumed after_run
would run after all the tests in the class, but as Sergio Tulentsev pointed out, it runs after the whole test suite is complete. For the sake of completeness, this is how it's used:
Minitest.after_run {
puts "The whole test suite is complete"
}