Running Tests¶
Current status of units tests:
You can run the unit tests yourself using pytest or tox. For both methods you must first install PySTE.
Using tox¶
Once tox is installed you can execute the command
tox
from the root directory of PySTE 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 PySTE and the packages in texts/requirements.txt. For example, you can run
pip install pytest
pip install ./
pip install -r tests/requirements.txt
from the root directory of PySTE to install all the requirements. Next the tests can be executed with the command
pytest
from the root directory of PySTE.