Opened 2 years ago

Closed 11 months ago

Last modified 4 weeks ago

#17366 closed Cleanup/optimization (fixed)

Deprecate loading tests from

Reported by: Alex Owned by: jcatalan
Component: Testing framework Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


This is inconsistent with pretty much every other test tool, and really doesn't make a whole lot of sense.

Attachments (0)

Change History (9)

comment:1 Changed 2 years ago by russellm

There is a reason that was searched for tests -- it's to catch any doctests that are defined on model methods.

I'm not necessarily arguing against the decision to deprecate as a source of tests, but given that it wasn't a completely arbitrary decision in the first place, it's worth documenting the specific consequences.

comment:2 Changed 17 months ago by EmilStenstrom

  • Component changed from Testing framework to Documentation

comment:3 Changed 16 months ago by timo

I don't think this should be a documentation ticket as its scope is much larger than just that, correct?

comment:4 Changed 16 months ago by aaugustin

  • Component changed from Documentation to Testing framework

comment:5 Changed 13 months ago by jcatalan

  • Owner changed from nobody to jcatalan
  • Status changed from new to assigned

comment:6 Changed 11 months ago by Carl Meyer <carl@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In 9012833af857e081b515ce760685b157638efcef:

Fixed #17365, #17366, #18727 -- Switched to discovery test runner.

Thanks to Preston Timmons for the bulk of the work on the patch, especially
updating Django's own test suite to comply with the requirements of the new
runner. Thanks also to Jannis Leidel and Mahdi Yusuf for earlier work on the
patch and the discovery runner.

Refs #11077, #17032, and #18670.

comment:7 Changed 11 months ago by Florian Apolloner <florian@…>

In e23a5f9a4730ddecb8f3950ee2936716f458c506:

Fixed a regression in the test runner loading of

Refs #17365, #17366, #18727.

comment:8 Changed 11 months ago by Florian Apolloner <florian@…>

In 2bf403ecbd958bfb269794b36e61b69f0aede4cf:

Fixed a regression from e23a5f9a4730ddecb8f3950ee2936716f458c506.

Excluded postgis specific gis tests from other spatial databases.

Refs #17365, #17366, #18727.

comment:9 Changed 4 weeks ago by Tim Graham <timograham@…>

In bf5430a20b65b3e76a2f8cd2580101e0baa59f82:

Removed django.test.simple and django.test._doctest per deprecation timeline.

refs #17365, #17366, #18727.

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.