[GSOC-Testing] Update

0 views
Skip to first unread message

Kevin Kubasik

unread,
Jul 2, 2009, 4:50:37 PM7/2/09
to djang...@googlegroups.com, django-developers
A short update on how things have gone this week:
  • Test-Only Models implemented, now being utilized in the regressionsuite. 
    • Performance-aware, create all models in db at start of suite to avoid syncdb-like overhead on transactions.
  • Started writing documentation. Its pretty limited thus far, but as things become more solid, the docs will flesh out. 
  • Consolidated code to use django.utls where appropriate. Moved my own methods into more accessible locations. 
  • Added mock request creation. This can be used to call a view function without going through urls. 
  • Added a skiptest framework. Decorators to only run some tests on specific db's or when specific views are not present. 
  • Threaded testing server cleans up its threads on shutdown or failure now. 
Overall, a solid week. The only thing I wanted to address but didn't get a chance too was the creation of a twill testrunner. I will probably get to that sometime next week, along with more complete testing of the new features rolled in this week. The update comes in a day early, since my 4th weekend starts a day early and I won't be coding much tomorrow!

Happy 4th!
-- 
Reply all
Reply to author
Forward
0 new messages