alcove 0.2.0.pre.alpha.pre.37 → 0.2.0.pre.alpha.pre.38
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +13 -9
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OWE3N2M0NTVhOTM3MzZhN2VjODViZDRiOTg3OTRmMDRlNzdmNjhmNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NzZmNWUxMTFiZGY1YzkyZjk5M2M5NWE4NjcyYmFjNWU5N2FmODM2YQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjE1MTJiZDgzYjRhMmRiNTI2NGRhZTVlOWQxN2VjZmMwMzM1ZjM0MTFmOTJl
|
10
|
+
ZGYxYjNjNWUyZjMwYTc4OGU0MjExZGE3ZDE4YWUwZTMyODg5YjUwMTM0NTAy
|
11
|
+
YzkzNmU0ZjE2YmQ5N2NlOGVlOTNiYjJhMGY2NzdmMDYyMTA1ODg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGIxYzAxMDZhODU1N2M3YzVmOGY1NTJiYzdmODkwMTI0ZTc5MzZjNjE0YmYz
|
14
|
+
OTQ4ZjY1YTkxMDJhMDYzMmIyNTQ4N2UxMTlmNDJlZTUwZmU1NDQ2NWJhMDFl
|
15
|
+
MjI4YWFlYWM2YmU4ZmM0ZGE1ZTA3MzJlZDNkZTEyZGIwZWYyOTc=
|
data/README.md
CHANGED
@@ -4,19 +4,19 @@ Painless code coverage reporting for Objective-C projects. Most of the heavy l
|
|
4
4
|
## Installation
|
5
5
|
|
6
6
|
$ gem install alcove
|
7
|
-
|
8
|
-
If you don't have it already, you'll also need to install lcov.
|
9
7
|
|
10
|
-
|
8
|
+
You'll also need to install lcov.
|
9
|
+
|
10
|
+
With *Homebrew*:
|
11
11
|
|
12
12
|
$ brew install lcov
|
13
13
|
|
14
|
-
*MacPorts
|
14
|
+
Or with *MacPorts*:
|
15
15
|
|
16
16
|
$ sudo port install lcov
|
17
17
|
|
18
18
|
## Xcode Project Configuration
|
19
|
-
|
19
|
+
Open your project in Xcode and update your non-test targets to Generate Test Coverage Files and Instrument Program Flow (*for Debug configuration only*).
|
20
20
|
![Xcode](http://i.imgur.com/xdcg4er.png?1)
|
21
21
|
|
22
22
|
## Generating Reports
|
@@ -24,13 +24,14 @@ Now that you have the prerequisites out of the way, you can generate a report.
|
|
24
24
|
|
25
25
|
alcove --product-name <your-product-name>
|
26
26
|
|
27
|
-
Be sure to check out the --help for additional options for fine-tuning your report.
|
28
|
-
|
29
27
|
## Options
|
30
28
|
|
31
29
|
### --output-directory
|
32
30
|
Specify this option to change the output directory for the report. Any intermediate paths will be created.
|
33
31
|
|
32
|
+
### --percent-file
|
33
|
+
Generates a plaintext file `alcove-percent.txt` in the output directory, containing only the line coverage percentage.
|
34
|
+
|
34
35
|
### --product-name
|
35
36
|
The product name specified in your Xcode project.
|
36
37
|
|
@@ -40,5 +41,8 @@ A list of filters to use when gathering files for the report. Use this if you w
|
|
40
41
|
### --search-directory
|
41
42
|
Use this option to specify the directory to be searched for your product. Alcove plays nicely with the the structure on your development machine, as well as on an Xcode Server, but if you have some funky output directory for your build, you can specify its parent here.
|
42
43
|
|
43
|
-
##
|
44
|
-
|
44
|
+
## Troubleshooting
|
45
|
+
If something doesn't seem quite right, try cleaning the build folder and then run the tests again. Make sure you can generate a report for the [demo project](https://github.com/ioveracker/AlcoveDemo), too.
|
46
|
+
|
47
|
+
## Thanks
|
48
|
+
Shoutout to [@NateBank](https://github.com/NateBank) for the [name suggestion](https://www.youtube.com/watch?v=j1Q-a5zCmhc) and inspiration.
|