add some testing notes of the readme to the documentation

This commit is contained in:
David Halter
2013-05-11 13:58:47 +04:30
parent 3681adef78
commit 29575b2562
2 changed files with 19 additions and 0 deletions

View File

@@ -118,3 +118,6 @@ easy as ::
Tests are also run automatically on `Travis CI
<https://travis-ci.org/davidhalter/jedi/>`_.
For more detailed information visit the testing `documentation
<https://jedi.readthedocs.org/en/latest/docs/testing.html>`_

View File

@@ -3,6 +3,22 @@
Jedi Testing
============
The test suite depends on ``tox`` and ``pytest``::
pip install tox pytest
To run the tests for all supported Python versions::
tox
If you want to test only a specific Python version (e.g. Python 2.7), it's as
easy as::
tox -e py27
Tests are also run automatically on `Travis CI
<https://travis-ci.org/davidhalter/jedi/>`_.
You want to add a test for |jedi|? Great! We love that. Normally you should
write your tests as :ref:`Blackbox Tests <blackbox>`. Most tests would
fit right in there.