summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index a1a88ea..96df768 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
PYTHON ?= python
-NOSETESTS ?= nosetests
+PYTEST ?= pytest
DOC_ROOT = doc
EXAMPLES = examples
@@ -8,17 +8,17 @@ EXAMPLES = examples
.PHONY: clean
clean: doc-clean
find . -name '*.pyc' -delete
- rm -rf coverage .coverage
rm -rf *.egg-info
+ rm -f coverage.xml
.PHONY: test
test:
- $(NOSETESTS) -s -v gerber
+ $(PYTEST)
.PHONY: test-coverage
test-coverage:
- rm -rf coverage .coverage
- $(NOSETESTS) -s -v --with-coverage --cover-package=gerber
+ rm -rf coverage.xml
+ $(PYTEST) --cov=./ --cov-report=xml
.PHONY: install
install: