Running Tests¶
Current status of units 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 saveable-objects 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 saveable-objects and the packages in texts/requirements.txt. For example, you can run
pip install ./
pip install tests/requirements.txt
from the root directory of saveable-objects to install all the requirements. Next the tests can be executed with the command
pytest
from the root directory of saveable-objects.