[rspec-users] rspec and rcov

David Chelimsky dchelimsky at gmail.com
Mon Aug 25 14:15:32 EDT 2008


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
>


More information about the rspec-users mailing list