Unit testing

At Django Easystart, we take testing seriously. We’ve got an awesome automated test suite in place that tests all the core functionalities and workflows to ensure that everything that goes into production never breaks on your users. This means your users will always have a seamless experience with your software product.

Plus, we’re all about speed and quality. Our aim is to hit 90% test coverage, which helps developers identify and fix errors quickly. This leads to faster delivery of your software product, with fewer bugs and better overall quality.

Running the tests

To run the test using the pytest suite

docker compose exec applocal pytest --disable-warnings

To get test coverage report in html

docker compose exec applocal pytest -p no:warnings --cov=.

To get test coverage report in the terminal

docker compose exec applocal pytest -p no:warnings --cov=. --cov-report term