Opened 16 years ago

Last modified 12 years ago

#9962 closed New feature

Add a tutorial for the testing framework — at Version 13

Reported by: Russell Keith-Magee Owned by:
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Gabriel Hurley, djfische@…, taavi@…, timograham@…, Daniele Procida Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Preston Holmes)

Testing is an important part of modern website development. The official Django tutorial should include a section on how to use the testing framework.

Change History (13)

comment:1 by Russell Keith-Magee, 16 years ago

Component: UncategorizedDocumentation
Triage Stage: UnreviewedAccepted

comment:3 by Eric Holscher, 14 years ago

milestone: 1.3
Owner: changed from nobody to Eric Holscher
Status: newassigned

I'd like to see this get into 1.3. Fix the "more tutorials coming later" at the end of the current tut.

If any of the documentation at http://djangotesting.com/ is worthwhile for inclusion, I would gladly donate it (It's in restructured text already). Or if anyone wanted to use that as a starting point, that would be awesome.

comment:4 by Gabriel Hurley, 14 years ago

Cc: Gabriel Hurley added

comment:5 by Eric Holscher, 14 years ago

Owner: Eric Holscher removed
Status: assignednew

Sadly not going to have time to get this in for 1.3. Again.

comment:6 by Eric Holscher, 14 years ago

Needs documentation: set

comment:7 by Chris Beaven, 14 years ago

milestone: 1.3
Severity: Normal
Type: New feature

comment:8 by David Fischer, 14 years ago

Cc: djfische@… added
Easy pickings: unset

comment:9 by Taavi Taijala, 13 years ago

Cc: taavi@… added
UI/UX: unset

comment:10 by holdenweb, 12 years ago

Please note that http://djangotesting.com/ is currently unavailable due to expiry of the domain name registration.

comment:11 by Daniele Procida, 12 years ago

If no-one else has already embarked on the task, I would like to write up and contribute some documentation based on testing the application as it stands in the tutorial.

It's not mentioned in the "coming soon" section (1.4, it's gone from dev), so I assume not.

After writing Django code for more than three years I have only just learned how to do tests, and understood what they are for, despite several abortive previous attempts. It's something I wish I had understood much earlier.

Please let me know whether I should embark on this. I can start immediately, and can demonstrate work-in-progress on GitHub, but I don't want to spend a lot of time on it if someone else already has something ready to drop in.

comment:12 by anonymous, 12 years ago

Work in progress at https://github.com/evildmp/django/blob/testing-tutorial/docs/intro/tutorial05.txt; can I have some feedback please?

comment:13 by Preston Holmes, 12 years ago

Description: modified (diff)
Has patch: set
Needs documentation: unset
Patch needs improvement: set
Version: 1.0master

The tone and scope of this is good needs some minor work here and there - I gave some feedback to the author on IRC. Additional review would be great.

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