diff --git a/README.md b/README.md index a2032f4..66d7b44 100644 --- a/README.md +++ b/README.md @@ -12,5 +12,7 @@ Make sure all dependencies listed in `requirements.txt` are installed. To run all unit tests, simply run the following from within the repository root: ```bash -pytest +coverage run -m pytest && coverage report ``` + +This will run all unit tests and display the test coverage in your terminal. diff --git a/requirements.txt b/requirements.txt index 4a90939..65b5d78 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ Flask==2.2.2 ldap3==2.9.1 pytest==7.2.0 +coverage==6.5.0 Pillow==9.3.0