autotest passes, but 'rake' fails
February 3rd, 2007
I always run autotest (from ZenTest) + redgreen + growl (described here). I highly recommend autotest. But of course, everything has it’s glitches. I just noticed that when I ran ‘rake’ I got a failure, but when I ran autotest all was good. It seems that with autotest, once a fixture is loaded for any test class, that fixture is available to everyone. This isn’t the case with plain old ‘rake’. Once I added the missing fixture, all was better.
Hopefully this helps someone. Minimally, it’s helped me to realize that although I love autotest, a good old ‘rake’ every now and then doesn’t hurt.
Leave a Reply