Essay and sample code for writing unit tests in Python
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
nose
pytest
unittest
.gitignore
LICENSE
README.md
udjango.py
udjango_mock_set.py
udjango_mocked.py

README.md

testing

Essay and sample code for writing unit tests in Python

Read the essay at donkirkby.github.com/testing, or see the presentation.

The source code includes the following:

  • Examples using the standard unittest and unittest2 modules in the unittest folder.
  • Examples using the pytest framework in the pytest folder.
  • Examples using the nose framework in the nose folder.
  • A Django app in a single file for you to play with in each of the udjango files.