Home

History Key

  • New content
  • Removed content

Recent Versions

Choose two versions to compare, or click the link to view it.

  1. 5. over 3 years by victor.ng
  2. 4. over 3 years by victor.ng
  3. 3. over 3 years by victor.ng
  4. 2. over 3 years by victor.ng
  5. 1. over 3 years by victor.ng
 

This is a plugin for nosetests to run unit tests against Django.

It's been tested against Django 1.0b1 and nose 0.10.

By leveraging existing Nose plugins, there is support for :

  • doctests
  • unittest TestCase tests
  • doctests in unittest Test modules

This plugin adds support for :

  • Django fixture loading
  • automatic test database setup and teardown

 
Note that this is a work in progress still. I'm not aware of any bugs in it, but the test runtimes seem to be quite a bit higher than running with the plain vanilla Django test runner.  I'm going to guess it's something to do with my database setup and teardown code, but I haven't done any profilng yet.

 I've only tested this against SQLite3, any test reports against other Django DB backends would be appreciated.