[Django] #31811: Add optional timing outputs to the test runner

87 views
Skip to first unread message

Django

unread,
Jul 22, 2020, 7:33:00 AM7/22/20
to django-...@googlegroups.com
#31811: Add optional timing outputs to the test runner
-------------------------------------+-------------------------------------
Reporter: Ahmad A. | Owner: nobody
Hussein |
Type: New | Status: new
feature |
Component: Testing | Version: master
framework |
Severity: Normal | Keywords: timing, test runner
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Add timing outputs for things like database creation, database cloning,
time to run tests, and total time elapsed.
Example format:
- Took X to build DB.
- Took Y to clone
- Took Z to run tests
- Total time.

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

Django

unread,
Jul 22, 2020, 7:33:08 AM7/22/20
to django-...@googlegroups.com
#31811: Add optional timing outputs to the test runner
-------------------------------------+-------------------------------------
Reporter: Ahmad A. Hussein | Owner: Ahmad A.
| Hussein
Type: New feature | Status: assigned
Component: Testing framework | Version: master
Severity: Normal | Resolution:

Keywords: timing, test runner | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Ahmad A. Hussein):

* owner: nobody => Ahmad A. Hussein
* status: new => assigned


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

Django

unread,
Jul 22, 2020, 7:59:08 AM7/22/20
to django-...@googlegroups.com
#31811: Add optional timing outputs to the test runner
-------------------------------------+-------------------------------------
Reporter: Ahmad A. Hussein | Owner: Ahmad A.
| Hussein
Type: New feature | Status: assigned
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: timing, test runner | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):

* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/31811#comment:2>

Django

unread,
Jul 22, 2020, 12:26:03 PM7/22/20
to django-...@googlegroups.com
#31811: Add optional timing outputs to the test runner
-------------------------------------+-------------------------------------
Reporter: Ahmad A. Hussein | Owner: Ahmad A.
| Hussein
Type: New feature | Status: assigned
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: timing, test runner | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Ahmad A. Hussein):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/13224 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/31811#comment:3>

Django

unread,
Jul 24, 2020, 6:17:55 AM7/24/20
to django-...@googlegroups.com
#31811: Add optional timing outputs to the test runner
-------------------------------------+-------------------------------------
Reporter: Ahmad A. Hussein | Owner: Ahmad A.
| Hussein
Type: New feature | Status: assigned
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: timing, test runner | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/31811#comment:4>

Django

unread,
Jul 25, 2020, 9:17:59 PM7/25/20
to django-...@googlegroups.com
#31811: Add optional timing outputs to the test runner
-------------------------------------+-------------------------------------
Reporter: Ahmad A. Hussein | Owner: Ahmad A.
| Hussein
Type: New feature | Status: assigned
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: timing, test runner | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Ahmad A. Hussein):

* needs_better_patch: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/31811#comment:5>

Django

unread,
Jul 28, 2020, 5:01:42 AM7/28/20
to django-...@googlegroups.com
#31811: Add optional timing outputs to the test runner
-------------------------------------+-------------------------------------
Reporter: Ahmad A. Hussein | Owner: Ahmad A.
| Hussein
Type: New feature | Status: assigned
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: timing, test runner | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/31811#comment:6>

Django

unread,
Jul 31, 2020, 6:09:24 AM7/31/20
to django-...@googlegroups.com
#31811: Add optional timing outputs to the test runner
-------------------------------------+-------------------------------------
Reporter: Ahmad A. Hussein | Owner: Ahmad A.
| Hussein
Type: New feature | Status: assigned
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: timing, test runner | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Ahmad A. Hussein):

* needs_better_patch: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/31811#comment:7>

Django

unread,
Aug 13, 2020, 6:47:52 AM8/13/20
to django-...@googlegroups.com
#31811: Add optional timing outputs to the test runner
-------------------------------------+-------------------------------------
Reporter: Ahmad A. Hussein | Owner: Ahmad A.
| Hussein
Type: New feature | Status: assigned
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: timing, test runner | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):

* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/31811#comment:8>

Django

unread,
Aug 13, 2020, 11:17:41 AM8/13/20
to django-...@googlegroups.com
#31811: Add optional timing outputs to the test runner
-------------------------------------+-------------------------------------
Reporter: Ahmad A. Hussein | Owner: Ahmad A.
| Hussein
Type: New feature | Status: assigned
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: timing, test runner | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson <carlton@…>):

In [changeset:"61a0ba43cfd4ff66f51a9d73dcd8ed6f6a6d9915" 61a0ba43]:
{{{
#!CommitTicketReference repository=""
revision="61a0ba43cfd4ff66f51a9d73dcd8ed6f6a6d9915"
Refs #31811 -- Added optional timing outputs to the test runner.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/31811#comment:9>

Django

unread,
Aug 13, 2020, 2:34:20 PM8/13/20
to django-...@googlegroups.com
#31811: Add optional timing outputs to the test runner
-------------------------------------+-------------------------------------
Reporter: Ahmad A. Hussein | Owner: Ahmad A.
| Hussein
Type: New feature | Status: closed

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

Keywords: timing, test runner | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):

* status: assigned => closed
* resolution: => fixed


Comment:

Fixed by 61a0ba43cfd4ff66f51a9d73dcd8ed6f6a6d9915.

--
Ticket URL: <https://code.djangoproject.com/ticket/31811#comment:10>

Django

unread,
Aug 14, 2020, 1:12:55 AM8/14/20
to django-...@googlegroups.com
#31811: Add optional timing outputs to the test runner
-------------------------------------+-------------------------------------
Reporter: Ahmad A. Hussein | Owner: Ahmad A.
| Hussein
Type: New feature | Status: closed
Component: Testing framework | Version: master
Severity: Normal | Resolution: fixed
Keywords: timing, test runner | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson):

Ah, good. Thanks Maruisz. I forgot we had a second ticket here. (Doh.)

--
Ticket URL: <https://code.djangoproject.com/ticket/31811#comment:11>

Django

unread,
Feb 24, 2021, 6:57:24 AM2/24/21
to django-...@googlegroups.com
#31811: Add optional timing outputs to the test runner
-------------------------------------+-------------------------------------
Reporter: Ahmad A. Hussein | Owner: Ahmad A.
| Hussein
Type: New feature | Status: closed
Component: Testing framework | Version: master
Severity: Normal | Resolution: fixed
Keywords: timing, test runner | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by GitHub <noreply@…>):

In [changeset:"c8837322e8b4068441ffe5dd497ab8a323525d3a" c883732]:
{{{
#!CommitTicketReference repository=""
revision="c8837322e8b4068441ffe5dd497ab8a323525d3a"
Refs #31811 -- Restored **kwargs to django.test.utils.setup_databases().

Accidentally removed in 61a0ba43cfd4ff66f51a9d73dcd8ed6f6a6d9915.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/31811#comment:12>

Django

unread,
Feb 24, 2021, 6:58:43 AM2/24/21
to django-...@googlegroups.com
#31811: Add optional timing outputs to the test runner
-------------------------------------+-------------------------------------
Reporter: Ahmad A. Hussein | Owner: Ahmad A.
| Hussein
Type: New feature | Status: closed
Component: Testing framework | Version: master
Severity: Normal | Resolution: fixed
Keywords: timing, test runner | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"c963bbc9aad57d021621e156f1cd54e4ee4f0803" c963bbc9]:
{{{
#!CommitTicketReference repository=""
revision="c963bbc9aad57d021621e156f1cd54e4ee4f0803"
[3.2.x] Refs #31811 -- Restored **kwargs to
django.test.utils.setup_databases().

Accidentally removed in 61a0ba43cfd4ff66f51a9d73dcd8ed6f6a6d9915.
Backport of c8837322e8b4068441ffe5dd497ab8a323525d3a from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/31811#comment:13>

Django

unread,
Feb 24, 2021, 2:24:44 PM2/24/21
to django-...@googlegroups.com
#31811: Add optional timing outputs to the test runner
-------------------------------------+-------------------------------------
Reporter: Ahmad A. Hussein | Owner: Ahmad A.
| Hussein
Type: New feature | Status: closed
Component: Testing framework | Version: master
Severity: Normal | Resolution: fixed
Keywords: timing, test runner | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by GitHub <noreply@…>):

In [changeset:"af685b5f00a2a38ec596ff905d5f70455185b6d7" af685b5f]:
{{{
#!CommitTicketReference repository=""
revision="af685b5f00a2a38ec596ff905d5f70455185b6d7"
Refs #31811 -- Corrected DiscoverRunner.setup_databases() signature.

Accidentally changed in 61a0ba43cfd4ff66f51a9d73dcd8ed6f6a6d9915.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/31811#comment:14>

Django

unread,
Feb 24, 2021, 2:25:03 PM2/24/21
to django-...@googlegroups.com
#31811: Add optional timing outputs to the test runner
-------------------------------------+-------------------------------------
Reporter: Ahmad A. Hussein | Owner: Ahmad A.
| Hussein
Type: New feature | Status: closed
Component: Testing framework | Version: master
Severity: Normal | Resolution: fixed
Keywords: timing, test runner | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"abca17c8e01bf8b92ee61bf2c987e2cd8d9e22d8" abca17c8]:
{{{
#!CommitTicketReference repository=""
revision="abca17c8e01bf8b92ee61bf2c987e2cd8d9e22d8"
[3.2.x] Refs #31811 -- Corrected DiscoverRunner.setup_databases()
signature.

Accidentally changed in 61a0ba43cfd4ff66f51a9d73dcd8ed6f6a6d9915.
Backport of af685b5f00a2a38ec596ff905d5f70455185b6d7 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/31811#comment:15>

Reply all
Reply to author
Forward
0 new messages