[Rails] Re: How to detect integration tests running ?

2012-06-13 Thread Frederick Cheung
On Jun 13, 12:57 pm, sreid 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 pr

[Rails] Re: How to detect integration tests running ?

2012-06-13 Thread Max Reznichenko
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 написал: > > How can I detect that test:unit integration tests are be