Skip to content

Latest commit

 

History

History

tests

Testing

All tests are located in the folder (tests)

To run the tests clone the repository from the GitHub
Open a terminal in the root of the repository and run the commands

$ python -m pip install .[test]
$ python -m pytest

If you want to test not the local server, but one from the container, or profile the app then you can set the utils.LOCAL and utils.PROFILE to requested boolean values. Also if utils.PROFILE is setting utils.LOCAL will not change anything.

⚠ If you want to run tests on the container you need to set some secrets. Don't worry though, utils.py will guide you through, just set the utils.LOCAL = False.

Files