Skip to content

Commit

Permalink
add code coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
jhford committed Feb 26, 2014
1 parent 95b1b1c commit 5963d05
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Expand Up @@ -3,6 +3,13 @@ test:
rm -rf .scratch_
nosetests --rednose

COVERAGE_DIR=coverage
.PHONY: coverage
coverage:
rm -rf $(COVERAGE_DIR)
nosetests --with-coverage --cover-package=gaia_uplift --cover-html --cover-html-dir=$(COVERAGE_DIR)
open $(COVERAGE_DIR)/index.html

.PHONY: release-test
release-test: test
# This is a more exhaustive set of tests
Expand Down

0 comments on commit 5963d05

Please sign in to comment.