in reply to Test Or Die

Test::Most has the die_on_fail sub which does just that.