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

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -