I have an entry on my blog, with some code, on how to remove things you
don’t want from the Rake processing:
http://blog.craz8.com/articles/2005/10/25/rails-application-testing-in-d
amage-control
In my case, I didn’t want to dump the Development database before
loading the Test database, since the machine this is running on has no
Development database. To make this happen, I wrote the code to prune
out the tasks that dump the Development database.