Hi,
rest-service/webservice just got a new plugin called 'rails_rcov'.
This enables the use of 'rcov' to test code coverage.
Code coverage measures the quality and effectiveness of your test cases by checking if all code is actually executed during testing.
Installation is pretty simple:
gem install relevance-rcov --source http://gems.github.com
(this is already packaged in the openSUSE buildservice as rubygem-rcov in project 'ruby' but not building for 11.1 yet)
Now run
rake test:units:rcov or rake test:functionals:rcov
and have a look how good we're doing.
Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
On Thu, Jun 25, 2009 at 02:06:56PM +0200, Klaus Kaempf wrote:
(this is already packaged in the openSUSE buildservice as rubygem-rcov in project 'ruby' but not building for 11.1 yet)
Yes, but fortunately it is in home:ctso, no surprise ;-) http://software.opensuse.org/search?q=rcov