diff --git a/.gitignore b/.gitignore index 2a88a24..e1b15b3 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,6 @@ output/*/index.html # Sphinx docs/_build + +# Coverage +htmlcov diff --git a/Makefile b/Makefile index 5e09cf6..feaf8f0 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,12 @@ test: testall: tox +coverage: + coverage run --source complexity setup.py test + coverage report -m + coverage html + open htmlcov/index.html + docs: $(MAKE) -C docs clean $(MAKE) -C docs html