On Jun 13, 12:57 pm, sreid <sreid0...@gmail.com> wrote:
> How can I detect that test:unit integration tests are being run, so I can
> start/stop some background processes once for the duration of all the
> integration tests only, but not for unit / functional tests ?

If you're running the test via rake, you could probably add a rake
task that starts whatever it is you are doing and add that task as a
dependency of test:integration, so that rake will invoke it before
test:integration runs

Fred

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to