Commit 90419803 authored by Ruben Young On's avatar Ruben Young On

Coverage report is now generated in HTML, XML and shown in the terminal. HTML...

Coverage report is now generated in HTML, XML and shown in the terminal. HTML files added to gitignore
parent 41b7c7e4
......@@ -98,3 +98,4 @@ stats.json
# pytest coverage reports
.coverage
cov.xml
cov.html/
......@@ -17,7 +17,7 @@
"migrate:dev": "ZESJE_SETTINGS=$(pwd)/zesje.dev.cfg FLASK_APP=zesje/__init__.py flask db upgrade",
"migrate": "FLASK_APP=zesje/__init__.py flask db upgrade",
"prepare-migration": "ZESJE_SETTINGS=$(pwd)/zesje.dev.cfg FLASK_APP=zesje/__init__.py flask db migrate",
"cov": "python -m pytest --cov=zesje --cov-report=xml:cov.xml --cov-report=term tests/",
"cov": "python -m pytest --cov=zesje --cov-report=xml:cov.xml --cov-report=html:cov.html --cov-report=term tests/",
"migrate-down": "FLASK_APP=zesje/__init__.py flask db downgrade"
},
"standard": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment