On 29 Nov 2007, at 14:56, Andy Armstrong wrote:
I'd like
# Run all tests
$ prove --state=save -rb t/*.t
# Re-run failures from above
$ prove --state=fail -rbv
# Re-run failures and remember failures
$ prove --state=save,fail -rbv
Using the third form repeatedly would run only the test programs
that failed previously - so as you fixed things the list of tests
to run would shrink.
We like?
Kinda :-)
One I'd like even more would be to run tests in order of most-
recently-failed. It's something I've hacked together several times at
various companies with T::H::Straps.
Adrian