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 )
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 , 16 years ago
Component: | Uncategorized → Documentation |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 16 years ago
comment:3 by , 14 years ago
milestone: | → 1.3 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
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 , 14 years ago
Cc: | added |
---|
comment:5 by , 14 years ago
Owner: | removed |
---|---|
Status: | assigned → new |
Sadly not going to have time to get this in for 1.3. Again.
comment:6 by , 14 years ago
Needs documentation: | set |
---|
comment:7 by , 14 years ago
milestone: | 1.3 |
---|---|
Severity: | → Normal |
Type: | → New feature |
comment:8 by , 14 years ago
Cc: | added |
---|---|
Easy pickings: | unset |
comment:9 by , 13 years ago
Cc: | added |
---|---|
UI/UX: | unset |
comment:10 by , 12 years ago
Please note that http://djangotesting.com/ is currently unavailable due to expiry of the domain name registration.
comment:11 by , 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 , 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 , 12 years ago
Description: | modified (diff) |
---|---|
Has patch: | set |
Needs documentation: | unset |
Patch needs improvement: | set |
Version: | 1.0 → master |
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.
http://docs.djangoproject.com/en/dev/topics/testing/#using-different-testing-frameworks
it's not enough? What section must be added?