Skip to content
Snippets Groups Projects
Commit a8efd395 authored by Andreas Ellewsen's avatar Andreas Ellewsen
Browse files

Update info for running unit tests

README said to use the default django command, but that does not work
with the current setup. The file has been updated to run pytest and a
pytest.ini file with the basic info needed to run the tests is now
included.
parent db154c5e
No related branches found
No related tags found
2 merge requests!34Tests/coveragereport,!33Update info for running unit tests
Pipeline #91492 passed
......@@ -44,7 +44,9 @@ Refer to [drf-spectacular](https://github.com/tfranzel/drf-spectacular/) for det
## Testing
python manage.py test
Use pytest with the pytest-django library to run unit tests.
pytest
## Static type analysis
......
[pytest]
DJANGO_SETTINGS_MODULE = gregsite.settings.dev
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment