Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#31811 closed New feature (fixed)

Add optional timing outputs to the test runner

Reported by: Ahmad A. Hussein Owned by: Ahmad A. Hussein
Component: Testing framework Version: dev
Severity: Normal Keywords: timing, test runner
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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.

Change History (15)

comment:1 by Ahmad A. Hussein, 4 years ago

Owner: changed from nobody to Ahmad A. Hussein
Status: newassigned

comment:2 by Carlton Gibson, 4 years ago

Triage Stage: UnreviewedAccepted

comment:3 by Ahmad A. Hussein, 4 years ago

Has patch: set

comment:4 by Mariusz Felisiak, 4 years ago

Patch needs improvement: set

comment:5 by Ahmad A. Hussein, 4 years ago

Patch needs improvement: unset

comment:6 by Carlton Gibson, 4 years ago

Patch needs improvement: set

comment:7 by Ahmad A. Hussein, 4 years ago

Patch needs improvement: unset

comment:8 by Carlton Gibson, 4 years ago

Triage Stage: AcceptedReady for checkin

comment:9 by Carlton Gibson <carlton@…>, 4 years ago

In 61a0ba43:

Refs #31811 -- Added optional timing outputs to the test runner.

comment:10 by Mariusz Felisiak, 4 years ago

Resolution: fixed
Status: assignedclosed

comment:11 by Carlton Gibson, 4 years ago

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

comment:12 by GitHub <noreply@…>, 4 years ago

In c883732:

Refs #31811 -- Restored kwargs to django.test.utils.setup_databases().

Accidentally removed in 61a0ba43cfd4ff66f51a9d73dcd8ed6f6a6d9915.

comment:13 by Mariusz Felisiak <felisiak.mariusz@…>, 4 years ago

In c963bbc9:

[3.2.x] Refs #31811 -- Restored kwargs to django.test.utils.setup_databases().

Accidentally removed in 61a0ba43cfd4ff66f51a9d73dcd8ed6f6a6d9915.
Backport of c8837322e8b4068441ffe5dd497ab8a323525d3a from master

comment:14 by GitHub <noreply@…>, 4 years ago

In af685b5f:

Refs #31811 -- Corrected DiscoverRunner.setup_databases() signature.

Accidentally changed in 61a0ba43cfd4ff66f51a9d73dcd8ed6f6a6d9915.

comment:15 by Mariusz Felisiak <felisiak.mariusz@…>, 4 years ago

In abca17c8:

[3.2.x] Refs #31811 -- Corrected DiscoverRunner.setup_databases() signature.

Accidentally changed in 61a0ba43cfd4ff66f51a9d73dcd8ed6f6a6d9915.
Backport of af685b5f00a2a38ec596ff905d5f70455185b6d7 from master

Note: See TracTickets for help on using tickets.
Back to Top