django.test: Display tests that succeeded

32 views
Skip to first unread message

Jeremy Potter

unread,
Feb 3, 2019, 5:00:27 PM2/3/19
to Django developers (Contributions to Django itself)
The Django test runner currently only displays tests that failed, and not those that succeeded. It would be nice if Django were to print out a list of tests that succeeded. First of all, it is satisfying to see tests succeed. Second of all, it would be easier to debug (if certain tests were not being run, for example). IMHO printing out the word "OK" is rather cryptic and boring.

For example, Jest:

jest2.png

What do you think?

Adam Johnson

unread,
Feb 3, 2019, 5:28:28 PM2/3/19
to django-d...@googlegroups.com
Django's test runner is based on Python's built-in unittest: https://docs.python.org/3/library/unittest.html#module-unittest . I believe you can use the verbose mode (e.g. -v 2) to see the list of all executed tests.

--
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-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/3474db84-4df0-4a03-9472-1ea6bc8c11a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Adam
Reply all
Reply to author
Forward
0 new messages