diff options
Diffstat (limited to 'docs/HACKING')
-rw-r--r-- | docs/HACKING | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/HACKING b/docs/HACKING index 5ee232d..cab59eb 100644 --- a/docs/HACKING +++ b/docs/HACKING @@ -51,3 +51,19 @@ It's always a good idea to use virtualenv to develop python software. (django-1.7)$ deactivate $ + + +== Running tests + +- To run all tests: + + $ ./manage.py test + +- To run all test methods (methods which name starts with 'test') of a TestCase + subclass: + + $ ./manage.py test patchwork.tests.SubjectCleanUpTest + +- To run a single test: + + $ ./manage.py test patchwork.tests.SubjectCleanUpTest.testSubjectCleanup |