Running Tests

Current status of units tests:

Unit Tests

You can run the unit tests yourself using pytest or tox.

Using tox

Once tox is installed you can execute the command

tox

in from a terminal in the root directory of QuGradLab to execute the tests for your installed python interpreter.

Using pytest

To execute the tests with pytest you will need to set up a python environment with QuGradLab and the packages in texts/requirements.txt. For example, you can run

pip install ./
pip install tests/requirements.txt

from the root directory of QuGradLab to install all the requirements. Next the tests can be executed with the command

pytest

from the root directory of QuGradLab.


Previous