Skip to content

Commit 2373060

Browse files
committed
feat: add macaca coverage
1 parent 43fd0c8 commit 2373060

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ UserInterfaceState.xcuserstate
2727
coverage/
2828
screenshots/
2929
reports/
30+
reporter/
3031
.*.sw[a-z]
3132
.sw?
3233
*.un~

.npmignore

+1
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@ UserInterfaceState.xcuserstate
2727
ios-app-bootstrap/
2828
ios-app-bootstrapTests/
2929
Cartfile
30+
reporter/
3031
*.sw*
3132
*.un~

.slather.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
#coverage_service: cobertura_xml
2-
coverage_service: html
3-
xcodeproj: ios-app-bootstrap.xcodeproj
4-
scheme: ios-app-bootstrap
5-
output_directory: ./coverage
61
ignore:
72
- Carthage/*
83
- build/*
94
- data/*
5+
- coverage/*
6+
- reporter/*

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ build: install
55
test:
66
echo TODO
77
coverage:
8-
slather coverage
8+
macaca coverage -r ios -n ios-app-bootstrap -p ./ios-app-bootstrap.xcodeproj --html ./reporter
99
.PHONY: coverage

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ $ make test
2929
### Coverage
3030

3131
```bash
32+
$ npm i macaca-cli -g
3233
$ make coverage
3334
```
3435

0 commit comments

Comments
 (0)