Skip to content
This repository has been archived by the owner on Jan 14, 2019. It is now read-only.

Commit

Permalink
More readme fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jezdez committed May 20, 2012
1 parent ff0de77 commit fc2f0e4
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions README.rst
Expand Up @@ -22,21 +22,22 @@ test discovery in all submodules of that package.
Settings Settings
-------- --------


``TEST_RUNNER`` needs to point to the ``DiscoverRunner`` class to enable it:: - ``TEST_RUNNER`` (required) needs to point to the ``DiscoverRunner`` class
to enable it::


TEST_RUNNER = 'discover_runner.DiscoverRunner' TEST_RUNNER = 'discover_runner.DiscoverRunner'


``TEST_DISCOVER_ROOT`` should be the root directory to discover tests - ``TEST_DISCOVER_ROOT`` (optional) should be the root directory to discover
within. You could make this the same as ``TEST_DISCOVER_TOP_LEVEL`` if you tests within. You could make this the same as ``TEST_DISCOVER_TOP_LEVEL``
want tests to be discovered anywhere in your project or app. if you want tests to be discovered anywhere in your project or app.


``TEST_DISCOVER_TOP_LEVEL`` should be the directory containing your top-level - ``TEST_DISCOVER_TOP_LEVEL`` (optional) should be the directory containing
package(s); in other words, the directory that should be on ``sys.path`` for your top-level package(s); in other words, the directory that should be on
your code to import. This is the directory containing ``manage.py`` in the new ``sys.path`` for your code to import. This is the directory containing
Django 1.4 project layout. ``manage.py`` in the new Django 1.4 project layout.


``TEST_DISCOVER_PATTERN`` is the pattern to use when discovering tests and - ``TEST_DISCOVER_PATTERN`` (optional) is the pattern to use when discovering
defaults to the unittest2_ standard ``test*.py``. tests and defaults to the unittest2_ standard ``test*.py``.


Examples Examples
-------- --------
Expand Down

0 comments on commit fc2f0e4

Please sign in to comment.