Skip to Main Content
Beginning Django E-Commerce
book

Beginning Django E-Commerce

by JIM McGaw
October 2009
Beginner content levelBeginner
407 pages
13h 29m
English
Apress
Content preview from Beginning Django E-Commerce

Chapter 14. Django Testing

In order to facilitate the production of higher-quality code (and maintain the sanity of developers), Django comes equipped with an automated testing suite. Writing perfect code is next to impossible. It can be done, but there's a very good reason that computer keyboards have a "Backspace" key on them: people make mistakes. While a few developers probably like to think that they embody super-human qualities such as never writing faulty code, the simple truth is that we all make mistakes without realizing it at first.

In this chapter, we are going to take a look at the Django test suite and how you can use it to ensure that the code you've written for your web site is behaving the way you expected. We're going to write ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Django Standalone Apps: Learn to Develop Reusable Django Libraries

Django Standalone Apps: Learn to Develop Reusable Django Libraries

Ben Lopatin
Django Project Blueprints

Django Project Blueprints

Asad Jibran Ahmed
Django 2 by Example

Django 2 by Example

Antonio Melé

Publisher Resources

ISBN: 9781430225355Purchase book