-
Notifications
You must be signed in to change notification settings - Fork 393
Historic: DjangoOneTesting
This page is out-of-date; moving to Django 1.x was completed in December 2009.
In order to move from Django 0.96 to 1.x, we should have automatic tests that ensure our code is behaving correctly with both versions (or at the very least, behaving the same way :-).
For some parts of the code, we have reasonably good test suite coverage, and the tests succeed. For other parts, either the coverage needs some improvement, or the tests haven't been run yet, or the tests show different behavior with 0.96 and 1.x.
This page contains the current status of these tests.
Remaining Tasks
- DONE: Commit Django 1.1.1 to SVN
- DONE: Do checkout, run conversion script, create tar.gz
- Deploy tar.gz on testtracker.ietf.org
- Do some simple testing (e.g. draft searching works)
- Commit conversion script results to SVN
- Do a release
- Deploy release on datatracker.ietf.org
- Repeat simple testing
- Have a beer
Manual Testing: All tests needed has been farmed out
Done:
- pasi: /list/nonwg/update/ (removed)
- pasi: /list/request/ (removed)
- tero: /ipr/search/?rfc_search=1034&option=rfc_search (checked by Tero, 1.1 output is correct)
- tero: /ipr/search/?wg_search=dnsext&option=wg_search (checked by Tero, 1.1 output is correct)
- tony: /idtracker/help/state/
- tony: /idtracker/status/last-call/
- tony: /idtracker/status/
- tony: /idtracker/draft-ietf-isis-link-attr/
- tony: /idtracker/draft-ietf-isis-link-attr/comment/65232/ ?
- ben: /idtracker/comment/65232 (Ben: Fixed. Committed ietf/templates/idtracker/documentcomment_detail.html to my branch)
- tony: /sitemap-drafts.xml (* 1.1.1 XML does not have space between tags *)
- tony: /sitemap-idtracker.xml (* 1.1.1 XML does not have space between tags *)
- tony: /sitemap-nomcom-announcements.xml (* 1.1.1 XML does not have space between tags *)
- tony: /sitemap-drafts.xml (* 1.1.1 XML does not have space between tags *)
- tony: /sitemap-idtracker.xml (* 1.1.1 XML does not have space between tags *)
- tony: /sitemap-ipr.xml (* 1.1.1 XML does not have space between tags *)
- tony: /sitemap-liaison.xml (* 1.1.1 XML does not have space between tags *)
- tony: /idtracker/ballot/1760/ (* issue with rel="nofollow" *)
- tony: /ipr/new-generic/ (* diffs are in form field framework *)
- tony: /ipr/new-specific/ (* diffs are in form field framework *)
- tony: /ipr/new-third-party/ (* diffs are in form field framework *)
- tony: /meeting/75/materials.html?_testoverride=1
- tony: /meeting/agenda.html
- tony: /meeting/agenda.txt
- tony: /meeting/agenda/
- tony: /meeting/agenda/?_testiphone=1
- tony: /list/nonwg/
- adam: /idtracker/rfc2444/
- pasi: /drafts/_test/all_id.txt
- pasi: /drafts/ (* diff OK -- change in attribute order *)
- pasi: /iesg/agenda/scribe_template.html
- tero: /iesg/agenda/ (Fixed. Commited ietf/templates/iesg/agenda_doc.html to my branch (there was missing |safe at doc.obj.note))
- arifumi: /ipr/update/1176/ (django attribute changes)
- ben: /feed/comments/draft-ietf-isis-link-attr/ (date format difference OK - Looks like 1.1.1 fixed a time zone problem.)
- adam: /doc/rfc3852/ (nofollow problem)
- tero: /doc/draft-eronen-mobike-mopo/ (|safe missing from templates/idrfc/doc_main_id.html after doc.friendly_state causing links to be escaped in state (draft replaced with another). Fixed. Commited change to my branch).
- ben: /ipr/1129/ - slight differences in linebreaks filter behavior. Doesn't look like a problem.
- adam: /iesg/ann/1563/ (nofollow problem)
- adam: /iesg/ann/2422/ (nofollow problem)
- tero: /doc/draft-ietf-avt-rtp-atrac-family/ (nofollow problem)
- tero: /doc/draft-ietf-avt-rtp-atrac-family/_debug.data (the 0.96 has extra backslashes inside the friendly_state urls, in 1.1 it does not, the new format seems to be correct)
- adam: /ipr/update/657/ (change in attribute orders, new maxlength attribute -- all looks correct)
- henrik: /wg/1wg-charters-by-acronym.txt (Added safe filter)
- henrik: /wg/1wg-charters.txt (Added safe filter)
- henrik: /wg/csi-charter.html (Added safe filter)
- henrik: /wg/pkix-charter.html (Added safe filter)
- henrik: /wg/v6ops-charter.html (Added safe filter)
- adam: /iesg/agenda/scribe_template.html (Added safe filter)
- adam: /feed/comments/draft-ietf-msec-newtype-keyid/ (Added safe filter)
- adam: /feed/comments/rfc2444/ (Added safe filter)
- adam: /feed/iesg-agenda/ (date format difference OK - Looks like 1.1.1 fixed a time zone problem.)
- adam: /feed/ipr/ (harmless apostrophe substitution)
- adam: /feed/liaison/from/ccamp/ (date differences, some apostrophe substitutions)
- adam: /feed/liaison/from/MFA_Forum/ (date differences, some apostrophe substitutions)
- adam: /feed/liaison/recent/ (date differences, some apostrophe substitutions)
- adam: /feed/liaison/subject/2173/ (date differences, some apostrophe substitutions)
- adam: /feed/liaison/subject/H.248/ (date differences, some apostrophe substitutions)
- adam: /feed/wg-proceedings/ (date differences)
Run the test suite by asking the Django manage.py
script to
run the tests:
$ ietf/manage.py test
Satisfactory
- ietf
- announcements
- bin: some unused/untested code: notify-expirations, send-scheduled-mail
- contrib: no tests here; tested by code that uses these
- idindex
- idrfc
- idtracker
- idtracker/templatetags: not much tests, but tested by code that uses these
- iesg: but rare agenda cases are difficult to test
- ietfauth: no tests, but will go away soon
- liaisons
- mailinglists
- meeting
- proceedings
- redirects
- templates
- utils: no tests here; tested by code that uses these
- wginfo: although some code not deployed yet, may need more testing
Sprint status: All manual testing needed has been farmed out
- idindex: run generate_* scripts (DONE)
- idrfc: run mirroring scripts (DONE)
- ietfauth: test logging in, both old and new UI (DONE)
- ipr: submission forms probably (DONE by Lars)
- templates: test a page that returns 404, and check URL /_test500/ (DONE)
Others don't need manual tests.