Add a 'rake coverage' rcov task
Reported by Ryan McGeary | July 3rd, 2008 @ 12:20 PM
While working with shoulda, I wanted to confirm that the test coverage was there before contemplating any refactors or features. This branch adds a rake coverage rake task to make it easy for future contributors to do the same thing.
http://github.com/rmm5t/shoulda/...
Relevant commit: http://github.com/rmm5t/shoulda/...
Usage:
$ rake coverage
$ open coverage/index.html
NOTE:
To avoid a bunch of crazy exclude rules in rcov (due to the symlink trickery), I made this branch dependent on another branch that hasn't been accepted yet. Please see my branch in ticket #44.
Comments and changes to this ticket
-
-
Ryan McGeary July 11th, 2008 @ 10:21 PM
(committed to thoughtbot/shoulda master)
For this to work, be sure to delete the test/rails_root/vendor/plugins/shoulda symlink in case it is still sitting around.
-
Ryan McGeary July 30th, 2008 @ 09:17 AM
- → State changed from new to committed
- → Assigned user changed from Tammer Saleh to Ryan McGeary
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
