Testing Django apps

Posted by: barbara | Date: Jul 15, 2008 | Updated: Sep 09, 2008 | Category: django

Running tests

To launch testing, run manage.py from the project folder, passing in 'test' as an argument:
 ./manage.py test 

Writing tests

You can embed doctests in your models.py, or create a separate tests.py (it should live at the app level, in the same place as models.py and views.py) ...

Read More