rcov

URL
http://eigenclass.org/hiki.rb?rcov
Author(s)
Mauricio Fernandez
Summary
rcov is a code coverage tool for Ruby. It is commonly used for viewing overall test unit coverage of target code. It features fast execution (20-300 times faster than previous tools), multiple analysis modes, XHTML and several kinds of text reports, easy

Add your comment ↓

Comments

rcov (ruby 1.9.1p243 (2009-07-16 revision 24175) [x86_64-linux]) is Failing
for Sylvain (GNU/Linux, about 1 month ago)

Ubuntu
Linux vm-linux-s 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 x86_64 GNU/Linux

rcov (0.9.7.1)

my code use UTF-8 encoding.

26 tests, 112 assertions, 0 failures, 0 errors, 0 skips
/var/lib/gems/1.9.1/gems/rcov-0.9.7.1/lib/rcov/file_statistics.rb:115:in `block in is_code?': invalid byte sequence in US-ASCII (ArgumentError)

rcov (0.9.7.1) is Failing
for Michel Demazure (GNU/Linux, 2 months ago)

same error as in Windows below

rcov (0.9.6) is Failing
for Michel Demazure (Windows, 2 months ago)

Compiled with Luis Molina's mingw DevKit
Encoding problem : ~ is not recognized.

F:\dev\ruby\DMX\lib>rcov start_window.rb
F:/Ruby19/lib/ruby/gems/1.9.1/gems/rcov-0.9.6/lib/rcov/file_statistics.rb:115:in
`block in is_code?': invalid byte sequence in US-ASCII (ArgumentError)

rcov (0.9.6) is Working
for Jason (Mac OSX, 2 months ago)

gem install rcov

worked just fine

rcov (0.9.2.1) is Working
for Gourav (Windows, 3 months ago)

Rcov failing on windows:
D:\project>gem install relevance-rcov
Building native extensions. This could take a while...
ERROR: Error installing relevance-rcov:
ERROR: Failed to build gem native extension.

D:/ruby/bin/ruby.exe extconf.rb
creating Makefile

nmake
'nmake' is not recognized as an internal or external command,
operable program or batch file.

Gem files will remain installed in D:/ruby/lib/ruby/gems/1.8/gems/relevance-rcov-0.9.2.1 for inspection.
Results logged to D:/ruby/lib/ruby/gems/1.8/gems/relevance-rcov-0.9.2.1/ext/rcovrt/gem_make.out

rcov (0.9.6) is Working
for Rolf Timmermans (Mac OSX, 4 months ago)

rcov (0.9.6) installed with gemcutter is working perfectly.

rcov is Working
for mtkd (Mac OSX, 5 months ago)

Fixed the issue using:
http://lojic.com/blog/2009/02/26/setup-shoulda-and-rcov-for-rails-222/

It was happening because of Shoulda

rcov (0.9.2.1) is Failing
for mtkd (Mac OSX, 5 months ago)

.../.rvm/gems/ruby/1.9.1/gems/relevance-rcov-0.9.2.1/lib/rcov/file_statistics.rb:115:in `block in is_code?': invalid byte sequence in US-ASCII (ArgumentError)

rcov is Failing
for Kresimir Bojcic (GNU/Linux, 5 months ago)

Same error as Peter: invalid byte sequence in US-ASCII

rcov (0.9.1.1) is Failing
for Peter Wagenet (Mac OSX, 5 months ago)

Dies with the error:

.../relevance-rcov-0.9.1.1/lib/rcov/file_statistics.rb:115:in `block in is_code?': invalid byte sequence in US-ASCII (ArgumentError)

rcov (0.9.0) is Failing
for Peter Wagenet (Mac OSX, 5 months ago)

relevance-rcov runs fine but is reporting incorrectly. Appears to be the same issue as Tan Kwang How.

rcov (0.9.0) is Failing
for Tan Kwang How (GNU/Linux, 6 months ago)

Works fine! But produce a different coverage report. ruby 1.8.7 got 100% coverage, ran the same spec in 1.9.1 got 90+%.....

rcov (0.8.3.4) is Working
for James Thompson (Mac OSX, 8 months ago)

relevance-rcov from Github working flawlessly.

rcov is Failing
for anu (Windows, 9 months ago)

Hi,
relevance-rcov unable to install on windows..

Building native extensions. This could take a while...
ERROR: Error installing relevance-rcov:
ERROR: Failed to build gem native extension.

c:/ruby/bin/ruby.exe extconf.rb
creating Makefile

nmake
'nmake' is not recognized as an internal or external command,
operable program or batch file.

Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/relevance-rcov-0.8.3.4 for inspection.
Results logged to c:/ruby/lib/ruby/gems/1.8/gems/relevance-rcov-0.8.3.4/ext/rcovrt/gem_make.out

rcov (0.8.3.4) is Working
for Aaron Bedra (Mac OSX, 9 months ago)

Can whoever is in charge change the url at the top of the page to http://github.com/relevance/rcov and add Relevance, Chad Humpries, and Aaron Bedra as authors?

rcov (0.8.3.3) is Working
for Aaron Bedra (Mac OSX, 9 months ago)

http://github.com/relevance/rcov

gem install relevance-rcov -s http://gems.github.com

rcov (0.8.1.2.0) is Failing
for Shawn Anderson (Mac OSX, 11 months ago)

fails to build:
http://gist.github.com/89776

rcov (0.8.1.5.6) is Failing
for siefca (Mac OSX, 11 months ago)

Aaron Bedra's branch:

$ rake gem
rake aborted!
Don't know how to build task 'ext/rcovrt/rcovrt.c'

$ rake --trace

results: http://gist.github.com/83550

rcov (0.8.1.5.6) is Failing
for Clint Bishop (Mac OSX, 12 months ago)

Fails to compile same as elliottcable's linked error report. This is with Aaron Bedra's aforementioned github ruby19 branch.

rcov (0.8.1.5.6) is Working
for Aaron Bedra (Mac OSX, about 1 year ago)

We have things running properly. Please use the ruby19 branch of the repo listed below. Still a bit of cleanup to do but you can get reports.

http://github.com/spicycode/rcov/tree/ruby19

rcov is Failing
for Aaron Bedra (Mac OSX, about 1 year ago)

http://github.com/spicycode/rcov

This version has made several improvements in the 1.8 camp and I am working with spicycode to get 1.9 compatibility going. Things compile properly but there are still a few bugs to work out

rcov is Failing
for David Palm (Mac OSX, about 1 year ago)

Fails in a bad way.

rcov (0.8.1.2.0) is Failing
for Ryan Neufeld (Mac OSX, about 1 year ago)

Fails to build in callsite.c

rcov (0.8.1.2.0) is Failing
for elliottcable (Mac OSX, about 1 year ago)

`gem install rcov` fails as follows:

http://gist.github.com/59143

rcov (0.8.1.2.0) is Failing
for Chris Lloyd (Mac OSX, about 1 year ago)

Fails to build on install.

Add your comment




Yes No