Run code after each failed test in ruby Test::Unit
stackoverflow.com