ImperialCollegeLondon / django-drf-filepond

A Django app providing a server implemention for the Filepond file upload library
BSD 3-Clause "New" or "Revised" License
105 stars 40 forks source link

Use of setuptools for running tests is deprecated, update test infrastructure #81

Closed jcohen02 closed 1 year ago

jcohen02 commented 2 years ago

The use of setuptools as an entry point for running tests is deprecated.

We need to switch to using another more flexible approach where we can easily test across multiple Python versions without relying only the CI configuration to do that.

tox is probably going to be the best way to do this.

jcohen02 commented 2 years ago

The current testing configuration is based on the approach shown in https://django-module-crash-course.readthedocs.io/en/latest/03-testing.html.

With the use of setup.py as an executable script (and, hence, testing via setup.py) being deprecated, alternative options are being investigated.

jcohen02 commented 1 year ago

The update of the testing infrastructure to use Pytest with tox has been completed and test coverage has also been significantly improved. This was merged in #84.