From: Daniel Harple Date: 2006-05-14T10:11:48+09:00 Subject: Re: Forcing some code to run at the end of tests On May 14, 2006, at 2:09 AM, Daniel Harple wrote: > If you are using the rake test task, then you could something like > (I didn't test this out): > > class MyTestTask < Rake::TestTask > def define > super() > # ... code you need here > end > end or this (much simpler): Rake::TestTask.new(:real_test) task :test => [:real_test] do # code here end -- Daniel