Install the requirements from <repo-home>/requirements-dev.txt
pip install -r requirements-dev.txt
Add the test data in <repo-home>/tests/data/<module-name>/input
for respective tests.
Test data in <repo-home>/tests/data/png-extraction/input
.
For unit tests, add a valid dcm file, with name test-img.dcm
.
Test data in <repo-home>/tests/data/meta-extraction/input
.
For unit tests, add a valid dcm file, with name test-img.dcm
.
Initialize the required data, and run tests from <repo-home>
.
pytest ./tests
For coverage report, run
pytest ./tests --cov=./modules --cov-report=html
and open the <repo-home>/htmlcov/index.html