Changes between Version 8 and Version 9 of RunningDjangoTests


Ignore:
Timestamp:
07/23/2010 04:57:58 AM (5 years ago)
Author:
jezdez
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RunningDjangoTests

    v8 v9  
    1111To run tests, settings need to be provided.
    1212
    13 Here's one possible way to do it using sqlite:
    14 {{{
    15 $ cd tests
    16 $ ../django/bin/django-admin.py startproject test_settings
    17 $ sed -i "s/DATABASE_ENGINE = ''/DATABASE_ENGINE = 'sqlite3'/;s/DATABASE_NAME = ''/DATABASE_NAME = 'test.db'/" test_settings/settings.py
    18 $ python runtests.py --verbosity=2 --settings=test_settings.settings
    19 }}}
     13Up to date official docs can be found here: http://docs.djangoproject.com/en/dev/internals/contributing/#running-the-unit-tests
    2014
    2115== Running only specific tests ==
Back to Top