diff --git a/README.md b/README.md index 74d3b0df594f3b46257b0ce021eaa26e5a22c6f9..5a0199e8fc8e95e53592b9374bf80e39cb9ee7e3 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000000000000000000000000000000000000..a50d688a117f4b733118807805da3de16ce11ce5 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,2 @@ +[pytest] +DJANGO_SETTINGS_MODULE = gregsite.settings.dev