support minitest after_run
#26515

grosser wants to merge grosser:grosser/after_run into rails:master

We do not currently have an analysis of these two commits