Viewing posts tagged TDD

How to test a function?

In this practical tutorial, I will show you how to test thoroughly a simple function. We will use Python's unittest library.

Introduction to Django Models

In this part of the tutorial, I will show you some basic model definition by creating a simple blog. We will discover how to handle dynamic model data and urls.

A Primer to Django Forms

This brief introduction will gently guide you through the of creating, displaying and validating Django Forms. As always, with a flavour of TDD best practices.

Django's models, views and templates

Examine the Model-View-Controller pattern at work in a Django Project. This tutorial will give you an overview of models.py, views.py and the templates directory.