From 29575b2562fea3942b3e3ea84795f1b53d15ba56 Mon Sep 17 00:00:00 2001 From: David Halter Date: Sat, 11 May 2013 13:58:47 +0430 Subject: [PATCH] add some testing notes of the readme to the documentation --- README.rst | 3 +++ docs/docs/testing.rst | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/README.rst b/README.rst index 2ff84c47..bbcd3268 100644 --- a/README.rst +++ b/README.rst @@ -118,3 +118,6 @@ easy as :: Tests are also run automatically on `Travis CI `_. + +For more detailed information visit the testing `documentation +`_ diff --git a/docs/docs/testing.rst b/docs/docs/testing.rst index 509fc76e..fe807572 100644 --- a/docs/docs/testing.rst +++ b/docs/docs/testing.rst @@ -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 +`_. + You want to add a test for |jedi|? Great! We love that. Normally you should write your tests as :ref:`Blackbox Tests `. Most tests would fit right in there.