Add coverage shield
sjoerdk opened this issue · comments
Coverage is quite high, we should show it off. Also monitor change.
Actually too much hassle to set up. Coverage can be verified by running
pytest --cov=dicomtrolley
from the project root.
At the time of writing this is:
----------- coverage: platform linux, python 3.8.8-final-0 -----------
Name Stmts Miss Branch BrPart Cover
-----------------------------------------------------------------
dicomtrolley/__init__.py 0 0 0 0 100%
dicomtrolley/auth.py 35 4 8 1 88%
dicomtrolley/core.py 144 2 48 0 98%
dicomtrolley/dicom_qr.py 92 2 38 4 95%
dicomtrolley/exceptions.py 2 0 2 0 100%
dicomtrolley/fields.py 8 0 8 0 100%
dicomtrolley/mint.py 133 1 58 3 98%
dicomtrolley/parsing.py 100 3 48 4 95%
dicomtrolley/rad69.py 175 5 68 8 95%
dicomtrolley/servers.py 35 4 8 0 91%
dicomtrolley/storage.py 27 0 8 0 100%
dicomtrolley/trolley.py 71 5 28 4 91%
dicomtrolley/wado.py 36 0 8 0 100%
dicomtrolley/xml_templates.py 6 0 0 0 100%
-----------------------------------------------------------------
TOTAL 864 26 330 24 96%