I’d like to propose a simple new feature which I think could be very
When a unit test fails, automatically raise the debugger.
Implementation should be simple - instead of just throwing errors on
failed assertions, do a require ‘debug.rb’; raise (the exception again)
One issue I have is that this will be annoying for TDD, when we expect
tests to fail. So there needs to be some type of switch (envariable,
command line, etc.)
I’d appreciate comments and suggestions on this.