[Django] #32282: Styling django test's output

5 views
Skip to first unread message

Django

unread,
Dec 17, 2020, 9:45:56 AM12/17/20
to django-...@googlegroups.com
#32282: Styling django test's output
---------------------------------------------+-------------------------
Reporter: Diptesh Choudhuri | Owner: nobody
Type: New feature | Status: new
Component: Testing framework | Version: master
Severity: Normal | Keywords: testing
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
---------------------------------------------+-------------------------
I plan to implement the following:

1. Colorizing the output. The failing tests will be highlighted in red,
the passing ones will be shown in green. A similar PR #22449 exists.
2. Showing the number of tests collected, run, failed and skipped.
3. Showing what percentage of tests have been run while the tests are
running.

I would like the communities feedback on this and whether this will be
feasible (or even achievable).
I plan to take this up as my GSoC proposal for 2021.

--
Ticket URL: <https://code.djangoproject.com/ticket/32282>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 17, 2020, 12:28:06 PM12/17/20
to django-...@googlegroups.com
#32282: Styling django test's output
-----------------------------------+--------------------------------------

Reporter: Diptesh Choudhuri | Owner: nobody
Type: New feature | Status: closed

Component: Testing framework | Version: master
Severity: Normal | Resolution: duplicate

Keywords: testing | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* ui_ux: 1 => 0
* resolution: => duplicate


Comment:

> 1. Colorizing the output. The failing tests will be highlighted in red,
the passing ones will be shown in green. A similar PR #22449 exists.

Colorized test results is tracked in #22449.

> 2. Showing the number of tests collected, run, failed and skipped.

Django's test runner already displays this information.

> 3. Showing what percentage of tests have been run while the tests are
running.

IMO it's a duplicate of #29105.

By the way, you'll reach a wider audience if you write to the
DevelopersMailingList about your ideas.

--
Ticket URL: <https://code.djangoproject.com/ticket/32282#comment:1>

Reply all
Reply to author
Forward
0 new messages