Kevin Kubasik’s Personal Blog
RSS icon Email icon Home icon
  • Django Windmill Tests – GSOC Progress Update

    Posted on June 25th, 2009 Kevin Kubasik 3 comments

    I feel that a status update is long overdue, but as the corpus of Windmill tests grows, so does the time it takes to run a complete instance of the regression suite. However, I do have some fun progress to report as well as a few questions/problems that are showing themselves now that all the fluff is over. First, let’s talk about the fun stuff!

    I do have 3 of my major improvements/fixes/restructures to django.test somewhat complete. At the moment they are lacking most in documentation, a problem I intended to rectify later this week.

    1. Windmill Tests: Windmill test runners are nearly complete, threaded development server for AJAX widget testing complete.
    2. Code Coverage: Coverage.py support for runtests.py and management command. Extensible system is easily pluggable with other coverage systems.
    3. Test-Only Models: This is still a topic of discussion, but adding the property ‘test_models’ to a TestSuite will load and wipe the models. Has tests and limited docs.

    My major TODO’s still outstanding:

    • Documentation!
    • Twill Runner Support (Utilizing the Windmill Threaded Server)
    • Windmill Admin Regression Tests (Healthy set of tests written, need to document and finish more)
    • Skip tests that are known to fail
    • Test new features/API’s

    That’s it for now, more updates are available on the django-dev list!

  • Google Summer of Code 2009: Django Testing Updates!

    Posted on April 21st, 2009 Kevin Kubasik 3 comments

    So my Google Summer of Code: 2009 project proposal was accepted! I will be working on a 2 phase project revolving around Django’s testing framework, and regression suite. Most notebly, I plan to:

    • Implement Windmill test coverage for Django’s Infamous contrib.admin
    • Provide several missing features/conveniences to the Django testing tools

    While it may not be the most glamorous project, I’m excited for it! When paired with my epic mentors, (the ever-infamous Eric Holscher and notorious George Song) it looks to be a solid summer. You can expect me to post weekly status updates here, as well as anything else relevant to the project. As my ‘get to know Django and make sure I can conform with coding standards etc.’ ticket, I’m planning to add an assertion which checks for dead links after template rendering. Or, as its better known, Django Ticket #5418.

    I want to also give a quick thanks to Jacob Kaplan-Moss, Eric Holscher, Jannis Leidel and all the other PyCon 2009 Sprinters who helped me create the proposal.