From: Assaph Mehr Date: 2006-08-07T12:54:45+09:00 Subject: Re: [ANN] rcov 0.7.0 (code coverage for Ruby) On 8/7/06, Robert MannI wrote: > I am wondering, for a rails project, would this be the correct way to use > this? > > rcov -Ilib test/**/*.rb > > That works for me, albeit about 30% of my tests fail then, while when I run > them using the rake task ("rake"), they all pass. So I suppose I must be > doing something wrong. This was actually discovered on a rails project. In Rails case there seems to be some weird interaction where running all tests (integreation and functional for me) causes clashes. The rake tasks for rails also launch a separate test process for each, and now rcov mimics that. Using the coverage.task template provided by Mauricio for rails seems to fix the issue. HTH, Assaph