testing - How to test single application (not project) in Django? -
i test small application, keep in separate package. right created "test_project" directory, created test project there , using project's manage.py run tests. keep wondering - there better method? possible launch single app's tests, perhaps default configuration (like, sqlite database)?
if use nose can run single app's tests.
python manage.py test app.tests:testclasshere
as testing single app. follow convention other big django projects do, , doing. create test_project directory.
https://bitbucket.org/jespern/django-piston/src/7c90898072ce/tests/test_project
i figure if enough of biggest django pluggable apps it's enough me.
Comments
Post a Comment