-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
41 lines (28 loc) · 932 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
RcovRails
=========
A simple "no thoughts required" solution to adding RCOV code coverage to your Rails application.
Just install the plugin, install the RCOV gem, and you're done.
Enjoy.
Example
=======
Install as a Rails 3 Gem:
$: vim Gemfile
group :development do
gem "rcov_rails"
end
$: bundle install
$: rake test:coverage # boom!
Install as a Rails 2.x Plugin:
$: sudo gem install rcov
$: ruby script/plugin install git://github.com/matthewrudy/rcov_rails
$: rake test:coverage # boom!
Install as a Rails 3.x Plugin: // I suggest you don't do this, as you'll need to add rcov via bundler anyway
$: sudo gem install rcov
$: vim Gemfile
group :development do
gem "rcov"
end
$: bundle install
$: rails plugin install git://github.com/matthewrudy/rcov_rails
$: rake test:coverage # boom!
Copyright (c) 2010 [Matthew Rudy Jacobs], released under the MIT license