diff options
author | Raphaël Barrois <raphael.barrois@polyconseil.fr> | 2015-04-27 15:43:19 +0200 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polyconseil.fr> | 2015-04-27 15:43:19 +0200 |
commit | d0de4c4bbc8d495f0dc6d4023f096e00118b3d0e (patch) | |
tree | 7122b9a70edf8d3dc5419b88d27f3dfba9b68d61 | |
parent | 526293fccdc2661d6b0d68e524dc32aa858a3435 (diff) | |
download | factory-boy-d0de4c4bbc8d495f0dc6d4023f096e00118b3d0e.tar factory-boy-d0de4c4bbc8d495f0dc6d4023f096e00118b3d0e.tar.gz |
Update testing instructions.
-rw-r--r-- | README.rst | 20 |
1 files changed, 14 insertions, 6 deletions
@@ -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 |