From d0de4c4bbc8d495f0dc6d4023f096e00118b3d0e Mon Sep 17 00:00:00 2001 From: Raphaƫl Barrois Date: Mon, 27 Apr 2015 15:43:19 +0200 Subject: Update testing instructions. --- README.rst | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index 9492c67..ac1986c 100644 --- a/README.rst +++ b/README.rst @@ -311,20 +311,28 @@ All pull request should pass the test suite, which can be launched simply with: .. code-block:: sh - $ python setup.py test + $ make test -.. note:: - Running test requires the unittest2 (standard in Python 2.7+) and mock libraries. +In order to test coverage, please use: + +.. code-block:: sh + $ make coverage -In order to test coverage, please use: + +To test with a specific framework version, you may use: .. code-block:: sh - $ pip install coverage - $ coverage erase; coverage run --branch setup.py test; coverage report + $ make DJANGO_VERSION=1.7 test + +Valid options are: + +* ``DJANGO_VERSION`` for ``Django`` +* ``MONGOENGINE_VERSION`` for ``mongoengine`` +* ``ALCHEMY_VERSION`` for ``SQLAlchemy`` Contents, indices and tables -- cgit v1.2.3