6
Ubuntu Friendly makes use of django-nose (and nose) for testing.
8
The quickest way to run tests is via a Makefile target::
12
You can have more control, e.g. to get a coverage report::
16
$ ./manage.py test --with-coverage
18
Run tests for a specific application::
20
$ ./manage.py test --tests results
24
$ ./manage.py test --tests results.tests:ResultsRecordImporterTest.test_import_record
28
To get better performance for running tests, set the following options
29
in your postgresql.conf::
32
synchronous_commit = off