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 :
- 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.