Hi,

On 15.12.20 15:48, Tobias Bengfort wrote:
My issue is mostly that pytest uses a lot of magic that is hard to debug, e.g. the overwritten assert statement or implicit injection of fixtures. Most pro arguments seem to depend on personal taste.

It should be noted that you can use pytest / pytest-django as a test runner without having to use any other pytest features (it can run unittest-style tests, you don't have to rewrite them). I do think it has some features in the test runner. For example, the -k command line option to quickly select tests, or --last-failed to rerun failed tests.

However, since pytest-django exists and has been working flawlessly for me for several years, I am not sure how much benefit there would be in having this in Django itself.

Regards,
René

--
You received this message because you are subscribed to the Google Groups "Django 
developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/3810f1f8-fc22-6fea-51d1-5bfa1b72523f%40fleschenberg.net.

Reply via email to