#30415: Using pytest as test runner
---------------------------------------------+------------------------
Reporter: Daniel Hahler | Owner: nobody
Type: New feature | Status: new
Component: Testing framework | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------------------------+------------------------
I think it would be very nice if pytest could be used to run Django's
tests.
I've started working on this, by using a pytest plugin/conftest, which
reuses parts from `tests/runtests.py`, which I've therefore started to
make more modular (https://github.com/django/django/pull/11289).
It is not meant to replace the current test runner (or tests), but would
just allow to use pytest out of the box seamlessly, with all the
additional features and plugins it provides.
Is this something that is wanted in general?
--
Ticket URL: <https://code.djangoproject.com/ticket/30415>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.1b77436c84ced21f480baf0062723f20%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.