summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polyconseil.fr>2015-04-27 15:43:19 +0200
committerRaphaël Barrois <raphael.barrois@polyconseil.fr>2015-04-27 15:43:19 +0200
commitd0de4c4bbc8d495f0dc6d4023f096e00118b3d0e (patch)
tree7122b9a70edf8d3dc5419b88d27f3dfba9b68d61 /README.rst
parent526293fccdc2661d6b0d68e524dc32aa858a3435 (diff)
downloadfactory-boy-d0de4c4bbc8d495f0dc6d4023f096e00118b3d0e.tar
factory-boy-d0de4c4bbc8d495f0dc6d4023f096e00118b3d0e.tar.gz
Update testing instructions.
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst20
1 files 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