Environment | URL |
---|---|
production | https://justice-league-one.herokuapp.com/ |
pip install -r requirements.txt
python src/main.py
First, you need to install the test runner (nosetests)
pip install -r requirements-dev.txt
To run all tests, use the test runner at the root of the project: To run all the tests, you can use nosetests from the root of project
nosetests
Also, you can run only unit tests:
nosetests tests/unit
To measure test coverage, run the command bellow
nosetests --with-coverage --cover-package=src --cover-inclusive --cover-html