From: Mauricio Fernandez Date: 2006-08-08T02:38:57+09:00 Subject: Re: Wrapped method causing infinite recursion in rcov On Fri, Jul 28, 2006 at 08:05:37PM +0900, Pedro C�rte-Real wrote: > On 7/27/06, Mauricio Fernandez wrote: > >If you cannot show me your code, please keep a copy of the codebase > >exhibiting > >the bug. I might send you a modified rcov for you to test, if I can figure > >this out. > > I can send you the code if you want but you've pretty much seen it > all. assert_valid_markup is a plugin: > > http://wiki.rubyonrails.com/rails/pages/Assert+Valid+Markup+Plugin > > I just wrapped the call to that assertion so that on every successful > request the HTML is tested. Other than that it's just normal tests. > > Just say so if you still can't reproduce it. Could you try to reproduce it with rcov 0.7.0, running the unit, functional & integration tests separately as explained in [ruby-talk:206760]? I think the file was being require()d with 2 different names, in tests that break unless executed in different processes. -- Mauricio Fernandez - http://eigenclass.org - singular Ruby