#2333: Add unit test framework for end-user Django applications
-------------------------------+--------------------------------------------
Reporter: russellm | Owner: russellm
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Unit test system | Version: SVN
Severity: normal | Resolution:
Keywords: unit test doctest |
-------------------------------+--------------------------------------------
Changes (by jpellerin):
* cc: [EMAIL PROTECTED] (added)
Comment:
I'm working on a plugin for my test runner, nose
(http://somethingaboutorange.com/mrl/projects/nose/) to ease testing of
django apps. It works along the lines of the django tests, setting up a
test database (or schema) based on the selected settings file and
installing the INSTALLED_APPS there, and tearing all of that down at the
end of the test run.
It's currently in early alpha -- if you want to check it out, please don't
use it with a settings file that points to production data. While I don't
believe there are any data-destroying bugs... well, you get the idea.
You can get nose via easy_install:
{{{
easy_install nose
}}}
And the plugin from svn:
{{{
svn co http://svn.nose.python-hosting.com/nose-django/trunk nose-django
}}}
Then cd nose-django and install as normal from there using setup.py. Then
try nosetests -h and look for the options with 'django' in the name.
--
Ticket URL: <http://code.djangoproject.com/ticket/2333>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---