-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
36 lines (18 loc) · 1003 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
Coveralls
=========
A rails plugin to make sure all files are required and show up in the code coverage report. (Untouched files are excluded and can thus inflate the overall code coverage.) If you forget to test a new library or module, it may not show up on the report, and thus you won't see that the coverage for that file is low.
Install
=======
git submodule add git://github.com/vegantech/coveralls.git vendor/plugins/coveralls
git submodule init
git submodule install
Example
=======
After installing the plugin create a test or spec that contains Coveralls.require_all_ruby_files
This will require all ruby files in /lib and /app if they haven't already been required.
You can also pass in an array of directories to require.
Coveralls.require_all_ruby_files ["/app/models","/app/lib"]
Thanks
=======
Special thanks go to Stephen Anderson for the name and for encouraging me to create this plugin.
Copyright (c) 2008 Shawn Balestracci, released under the MIT license