From f6f95a93b037d2f8e73856d98a4ab1f34e7b6a5b Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Thu, 13 Oct 2016 14:03:48 +0200 Subject: [PATCH] Update description of test invocation [ci skip] --- README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index ad60409b..8dad8d2f 100644 --- a/README.rst +++ b/README.rst @@ -169,15 +169,15 @@ issue to discuss whether your plugin idea is a core plugin (``wiki.plugins.*``) or external plugin. If there are additions needed to the plugin API, we can discuss that as well! -To run django-wiki's tests, run ``make test`` or ``python setup.py test`` +To run django-wiki's tests, run ``make test`` after installing the requirements. If you want to test for more **environments**, install "tox" (``pip install tox``) and then just run ``tox`` to run the test suite on multiple environments. -To run **specific tests**, call ``runtests.py`` with the arguments that you -would pass to the normal "manage.py test" command. +To run **specific tests**, call ``pytest`` with a path to the file with +the tests you wish to run, for instance ``pytest wiki/tests/test_views.py``. Manifesto --------- -- 2.45.2