Skip to content

Commit 6daadd9

Browse files
committedFeb 22, 2013
Better make coverage
1 parent 32e8d33 commit 6daadd9

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed
 

‎.coveragerc

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[report]
2+
omit=src/sentry/migrations/*

‎Makefile

+2-3
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,8 @@ lint-js:
5858
@${NPM_ROOT}/jshint/bin/hint src/sentry/ || exit 1
5959
@echo ""
6060

61-
coverage:
62-
coverage run --include=src/sentry/* setup.py test
63-
coverage html --omit=src/sentry/migrations/* -d htmlcov
61+
coverage: install-test-requirements
62+
py.test --cov=src/sentry --cov-report=html
6463

6564

6665
.PHONY: build

‎setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636

3737
dev_requires = [
3838
'flake8>=1.7.0',
39+
'pytest-cov>=1.4',
3940
]
4041

4142
tests_require = [

0 commit comments

Comments
 (0)
Please sign in to comment.