[rspec-users] rspec and rcov

Claudio Poli masterkain at gmail.com
Mon Aug 25 14:11:20 EDT 2008


hi everyone,
does anyone experience this problem?

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



More information about the rspec-users mailing list