bartes-rcov_stats 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README +8 -10
- metadata +1 -1
data/README
CHANGED
@@ -1,33 +1,31 @@
|
|
1
1
|
RcovStats
|
2
2
|
=========
|
3
3
|
|
4
|
-
RcovStats provides rcov extension, so you
|
4
|
+
RcovStats provides rcov extension, so you can select test files and test covered files for unit and functional tests.
|
5
5
|
|
6
6
|
How to install :
|
7
7
|
|
8
8
|
1) As a Rails plugin:
|
9
9
|
./script/plugin install git://github.com/bartes/rcov_stats.git
|
10
10
|
2) As a gem for Rails:
|
11
|
-
gem install bartes-rcov_stats
|
12
|
-
gem install gemsonrails
|
11
|
+
gem install bartes-rcov_stats gemsonrails
|
13
12
|
cd your_application
|
14
13
|
gemsonrails
|
15
14
|
rake gems:freeze GEM=bartes-rcov_stats
|
16
|
-
|
15
|
+
3) As a gem for Merb:
|
17
16
|
gem install bartes-rcov_stats
|
18
17
|
## puts this denepndecy inside your config/init.rb file ##
|
19
18
|
dependency "bartes-rcov_stats" , :require_as => 'rcov_stats'
|
20
19
|
|
21
20
|
How to configure
|
22
21
|
|
23
|
-
After installation
|
22
|
+
After installation (initialization) you can see rcov_stats.yml in /config directory.
|
24
23
|
You can specify there :
|
25
|
-
- files or directories to be covered by
|
26
|
-
- files or directories to be covered by
|
27
|
-
- test files or directories with test files which will be used for
|
28
|
-
- test files or directories with test files which will be used for
|
24
|
+
- files or directories to be covered by unit tests to cover (units_files_to_cover)
|
25
|
+
- files or directories to be covered by functional tests to cover (functionals_files_to_cover)
|
26
|
+
- test files or directories with test files which will be used for unit testing (units_files_to_test)
|
27
|
+
- test files or directories with test files which will be used for functional testing (functionals_files_to_test)
|
29
28
|
- action which will be used before running test suite (before_rcov -> by default db:test:prepare)
|
30
29
|
|
31
30
|
|
32
|
-
|
33
31
|
Copyright (c) 2009 [bartes], released under the MIT license
|