-
Notifications
You must be signed in to change notification settings - Fork 2
Running tests
paigewilliams edited this page Oct 15, 2025
·
2 revisions
Prerequisite: Development Installation
Note: These instructions have only been tested when running on MacOS with
vagrant-qemu
- Within the VM, navigate to the TEKDB directory:
cd /usr/local/apps/TEKDB/TEKDB - Assuming you have already installed the
requirements.txt, runpython manage.py test TEKDB.tests
- From
/usr/local/apps/TEKDB/TEKDB, run the coverage exam with:coverage run --data-file=/usr/local/apps/.coverage manage.py test TEKDB.tests
Note: We need to specify the coverage data file location to one where we have write access.
-
cd ../../to navigate tousr/local/apps, where the.coverageshould be located - Run
coverage reportto output a report to the console. There are other options for how to output the report documented here.