tags:

views:

70

answers:

1

Is there any way to prevent ./manage.py test from running tests on installed apps like django.contrib.auth?

A: 

Well the proper solution is as lazerscience said:

python manage.py test appname appname.SomeTestCase appname.TestCase.test_method

When you just run test command all apps in INSTALLED_APPS will be tested including those from contrib (such as auth, admin, sites etc).

Also if some test are failing it means something doesn't work properly, you should rather fix the problem then hide the failing test. If Django tests are failing make sure you are using stable release version.

rebus
As I replied to lazerscience: that doesn't make it any easier to test all, say, 10 of my site's custom applications at once :(
David Wolever