Django nose to run only project tests

Posted by patroqueeet on Stack Overflow See other posts from Stack Overflow or by patroqueeet
Published on 2012-09-18T15:18:28Z Indexed on 2012/09/18 15:37 UTC
Read the original article Hit count: 248

Filed under:
|
|
|

I added nose, django-nose, nose-exclude, coverage to my buildout.cfg and ran buildout. Furthermore I added the TEST_RUNNER and the NOSE_ARGS to my settings.py. In the last step I created a exclude_dirs.txt and included it into the NOSE_ARGS. That worked so far.

Finally I ran bin/django testto run the tests of my project. I found out that every app inside INSTALLED_APP is run and that even parts of the django core models are run. How can I limit this to my project only without exernal packages?

© Stack Overflow or respective owner

Related posts about django

Related posts about code-coverage