running all tests post django 1.6
问题 In django 1.5 and earlier, running python manage.py test would, by default, run all tests in a project (including all those in django.contrib). Subsequent to version 1.6, the default behaviour is to run all the tests in the current directory. What is the best way (v 1.6) to run all tests, either with or without the django.contrib tests? 回答1: Django 1.6 changed the default test runner to: TEST_RUNNER = 'django.test.runner.DiscoverRunner' You can get the old behaviour back by adding to your