Hi Diptesh,

I think it is great that you want to work on this. I also think asking for feedback now is the right way to go.

That said, I personall have not had the best experience with pytest. I have mostly worked on smaller projects though, so my perspective might be very limited.

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.

On 15/12/2020 04.37, Diptesh Choudhuri wrote:
 3. Parameterizing the test cases using the default runner requires a
    third party library and looks difficult
    
<http://witkowskibartosz.com/blog/parameterized-django-testcases-at-biking-endorphines.html>
 (I
    will be honest, I haven't used this package myself at all).

`subTest` has been in the standard library since python 3.4.

https://docs.python.org/3/library/unittest.html?highlight=unittest#distinguishing-test-iterations-using-subtests

tobias

--
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/f4b8a65c-5eff-1432-654d-3b2d782cd9bf%40posteo.de.

Reply via email to