Document about tox testing

This commit is contained in:
Axel Haustant 2015-04-16 14:26:19 +02:00
parent 57f301815d
commit 8e8d9426df
2 changed files with 16 additions and 3 deletions

View File

@ -46,6 +46,8 @@ General Guidelines
- Write tests and make sure they pass (make sure you have a mongod
running on the default port, then execute ``python setup.py test``
from the cmd line to run the test suite).
- Ensure tests pass on every Python and PyMongo versions.
You can test on these versions locally by executing ``tox``
- Add yourself to AUTHORS :)
Documentation

View File

@ -98,6 +98,17 @@ Tests
To run the test suite, ensure you are running a local instance of MongoDB on
the standard port, and run: ``python setup.py test``.
To run the test suite on every supported Python version and every supported PyMongo version,
you can use ``tox``.
tox and each supported Python version should be installed in your environment:
.. code-block:: shell
# Install tox
$ pip install tox
# Run the test suites
$ tox
Community
=========
- `MongoEngine Users mailing list