I’m just getting my feet wet with Rake, at least as far as running unit
tests is concerned.
I have some initializer and cleanup stuff that I’d like run before and
after ANY rake task (all of which are TestTasks in my case). I’m using
the dependency method to setup the initializer, which is fine, but I
don’t know how to get my cleanup task to run, since rake aborts at the
first test failure.
I basically need the rake-task equivalent of Ruby’s “ensure”.
Is this possible? If so, how?