Mailinglist Archive: yast-devel (95 mails)

< Previous Next >
[yast-devel] Code coverage testing extension in rest-service/webservice
  • From: Klaus Kaempf <kkaempf@xxxxxxx>
  • Date: Thu, 25 Jun 2009 14:06:56 +0200
  • Message-id: <20090625120656.GA6532@xxxxxxxxxxxxx>
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)

--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups