# HG changeset patch # User Mads Kiilerich # Date 2016-06-10 01:19:58 # Node ID e6fafb5ed70d9ea6ea803f2a71a018d7891cdc7b # Parent bf0a587334eaaa891f580150c8135be9eb84d239 docs: make the default method for running tests more visible Sometimes, users found the convoluted and risky method of testing without recreating the database before spotting the simple method. diff --git a/docs/contributing.rst b/docs/contributing.rst --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -49,8 +49,12 @@ Running tests ------------- After finishing your changes make sure all tests pass cleanly. You can run -the testsuite running ``py.test`` from the project root, or if you use tox -run ``tox`` for Python 2.6--2.7 with multiple database test. +the testsuite by running ``py.test`` from the project root:: + + py.test + +You can also use ``tox`` to run the tests with all supported Python versions +(currently Python 2.6--2.7). When running tests, Kallithea uses `kallithea/tests/test.ini` and populates the SQLite database specified there.