Blog Archive for December 7, 2009

Django Tests with Code Coverage

December 7, 2009

This post covers the mechanism I use for producing code coverage reports from django's test framework. If you run ./manage.py test app_name then it will run the tests in that app name without coverage. If you run ./manage.py test then all the tests will be run and coverage reports will …