[rspec-users] rspec and rcov

Claudio Poli masterkain at gmail.com
Mon Aug 25 17:38:35 EDT 2008


got this and monkeypatched rails with the fix proposed by Koz, rspec  
test linked in topfunky's tweet pass, but still same error about  
rspec:rcov rake task.
I'm going to open a lighthouse ticket, feel free to close it if it's  
not pertinent, thanks.

claudio

Il giorno 25/ago/08, alle ore 22:15, Aslak Hellesøy ha scritto:

>
>> Please file a new ticket for this then.
>>
>
> But first check topfunky's recent tweet on REXML. I'm almost certain  
> you've been bitten by a REXML bug.
>
>> Thanks,
>> David
>>
>> On Mon, Aug 25, 2008 at 1:30 PM, Claudio Poli  
>> <masterkain at gmail.com> wrote:
>>> hi David,
>>> thanks for the reply, I didn't find on lighthouse this specific  
>>> exception.
>>> I think it's something related to the rexml version in ruby 1.8.7
>>> (2008-06-20 patchlevel 22) [i686-darwin9.3.0] but not sure how to  
>>> fix it.
>>>
>>> Claudio
>>>
>>> Il giorno 25/ago/08, alle ore 20:15, David Chelimsky ha scritto:
>>>
>>>> On Mon, Aug 25, 2008 at 1:11 PM, Claudio Poli  
>>>> <masterkain at gmail.com>
>>>> wrote:
>>>>>
>>>>> hi everyone,
>>>>> does anyone experience this problem?
>>>>
>>>> Hi Claudio,
>>>>
>>>> There are a few issues at lighthouse related to running rcov:
>>>>
>>>>
>>>> http://rspec.lighthouseapp.com/projects/5645-rspec/tickets?q=rcov+state%3Aopen&filter=created%3Atoday
>>>>
>>>> Don't know if yours is the same, but you may want to take a peek  
>>>> at those.
>>>>
>>>> Cheers,
>>>> David
>>>>
>>>>>
>>>>> kain-osx:mysite kain$ rake spec:rcov
>>>>> (in /Users/kain/Sites/mysite)
>>>>> ....................
>>>>>
>>>>> Finished in 1.567164 seconds
>>>>>
>>>>> 20 examples, 0 failures
>>>>> /usr/local/lib/ruby/1.8/rexml/formatters/pretty.rb:131:in `wrap':
>>>>> stack level too deep (SystemStackError)
>>>>>    from /usr/local/lib/ruby/1.8/rexml/formatters/pretty.rb:131:in
>>>>> `wrap'
>>>>>    from /usr/local/lib/ruby/1.8/rexml/formatters/pretty.rb:90:in
>>>>> `write_text'
>>>>>    from /usr/local/lib/ruby/1.8/rexml/formatters/default.rb:50:in
>>>>> `write'
>>>>>    from /usr/local/lib/ruby/1.8/rexml/formatters/pretty.rb:75:in
>>>>> `write_element'
>>>>>    from /usr/local/lib/ruby/1.8/rexml/formatters/pretty.rb:73:in  
>>>>> `each'
>>>>>    from /usr/local/lib/ruby/1.8/rexml/formatters/pretty.rb:73:in
>>>>> `write_element'
>>>>>    from /usr/local/lib/ruby/1.8/rexml/formatters/default.rb:31:in
>>>>> `write'
>>>>>    from /usr/local/lib/ruby/1.8/rexml/formatters/pretty.rb:75:in
>>>>> `write_element'
>>>>>     ... 11 levels...
>>>>>    from /usr/local/lib/ruby/gems/1.8/gems/rcov-0.8.1.2.0/lib/ 
>>>>> rcov.rb:
>>>>> 640:in `dump_coverage_info'
>>>>>    from /usr/local/lib/ruby/gems/1.8/gems/rcov-0.8.1.2.0/lib/ 
>>>>> rcov.rb:
>>>>> 640:in `each'
>>>>>    from /usr/local/lib/ruby/gems/1.8/gems/rcov-0.8.1.2.0/lib/ 
>>>>> rcov.rb:
>>>>> 640:in `dump_coverage_info'
>>>>>    from /usr/local/lib/ruby/gems/1.8/gems/rcov-0.8.1.2.0/bin/ 
>>>>> rcov:421
>>>>> rake aborted!
>>>>> Command /usr/local/bin/ruby -I"/usr/local/lib/ruby/gems/1.8/gems/
>>>>> rspec-1.1.4/lib" -S rcov --exclude "spec/*,gems/*" --rails -o
>>>>> "coverage" "/usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.4/bin/ 
>>>>> spec" --
>>>>> "spec/models/account_spec.rb" "spec/models/dictionary_spec.rb" --
>>>>> options "/Users/kain/Sites/mysite/spec/spec.opts" failed
>>>>>
>>>>> _______________________________________________
>>>>> rspec-users mailing list
>>>>> rspec-users at rubyforge.org
>>>>> http://rubyforge.org/mailman/listinfo/rspec-users
>>>>>
>>>> _______________________________________________
>>>> rspec-users mailing list
>>>> rspec-users at rubyforge.org
>>>> http://rubyforge.org/mailman/listinfo/rspec-users
>>>
>>> _______________________________________________
>>> rspec-users mailing list
>>> rspec-users at rubyforge.org
>>> http://rubyforge.org/mailman/listinfo/rspec-users
>>>
>> _______________________________________________
>> rspec-users mailing list
>> rspec-users at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users



More information about the rspec-users mailing list