diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..8fc516b --- /dev/null +++ b/.coveragerc @@ -0,0 +1,5 @@ +[run] +omit = + */_build_ffi.py + */_build_wolfssl.py + */_ffi.py \ No newline at end of file diff --git a/Makefile b/Makefile index 3ba12ad..dc1fb3d 100644 --- a/Makefile +++ b/Makefile @@ -60,8 +60,8 @@ test-all: ## run tests on every Python version with tox check-all: test-all ## run tests on every Python version with tox -coverage: ## check code coverage quickly with the default Python - coverage run --source wolfcrypt -m pytest +cov: install ## check code coverage quickly with the default Python + py.test --cov-config .coveragerc --cov=wolfcrypt tests coverage report -m coverage html $(BROWSER) htmlcov/index.html