Alex Gaynor 7/6/2010

Testing Utilities in Django

Read Original

This article details the creation of custom testing utilities for Django to streamline test-driven development. It introduces convenient wrapper methods for GET and POST requests to reduce verbosity and presents a context manager for easily switching user logins during tests. The author also briefly mentions the django-fixture-generator tool for managing test data fixtures.

Testing Utilities in Django

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week