Closed sehmuzc closed 1 year ago
You can check the coverage of your code by following these steps:
docker-compose exec app bash
pip install coverage
coverage run manage.py test
or if you already have a test database:coverage run manage.py test --keepdb
coverage report
to see the report.coverage html
to get annotated HTML listings detailing missed lines. Then open htmlcov/index.html
in your browser.Space app tests.py file has been created and the create space, view space detail functions unit tests have been added.
Space app tests.py file should be created and the create space, view space detail functions should be tested with unit tests.