You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
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 ?
Max Reznichenko
unread,
Jun 13, 2012, 8:07:58 AM6/13/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
Tests are run as a separate process, not connected to other ones, by default
So, using `ps aux | grep` i.e. for linux could help.
Anyway, you need OS based solution here
среда, 13 июня 2012 г., 14:57:08 UTC+3 пользователь sreid написал:
Frederick Cheung
unread,
Jun 13, 2012, 8:13:02 AM6/13/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
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