Django 1.1 Testing and Debugging
Getting started: Creating a new application
Understanding the sample unit test
Understanding the sample doctest
Test errors versus test failures
Command line options for running tests
Does This Code Work? Doctests in Depth
Testing 1, 2, 3: Basic Unit Testing
Unit tests for the Survey save override method
Revisiting the doctest caveats
Getting Fancier: Django Unit Test Extensions
Creating the survey application home page
Creating the survey detail pages
Customizing the admin add and change survey pages
Testing transactional behavior
Filling in the Blanks: Integrating Django and Other Test Tools
How much of the code are we testing?
The twill web browsing and testing tool
Debug support in the development server
Handling problems in production
When the Wheels Fall Off: Understanding a Django Debug Page
Starting the Survey voting implementation
Understanding and fixing the TypeError
Handling multiple Survey questions
Handling invalid Survey submissions
When Problems Hide: Getting More Information
Tracking SQL queries for a request
When You Don't Even Know What to Log: Using Debuggers
Implementing the Survey results display
Results display using pygooglechart
Getting started with the debugger
Debugging the pygooglechart results display
Fixing the pygooglechart results display
Results display using matplotlib
Improving the matplotlib approach
Notes on using graphical debuggers
When All Else Fails: Getting Outside Help
Tracking down a problem in Django
Tracking down unreported problems
When it's Time to Go Live: Moving to Production
Developing an Apache/mod_wsgi configuration
Testing multithreaded behavior