Add description about tox in dev_env.rst

Change-Id: I6e3650ef78efa5973de5d6f89a1ae25f33836aa8
This commit is contained in:
zejian Zhuang 2017-06-02 10:14:04 +08:00
parent 1f7adde05b
commit d4733e131f

View File

@ -94,6 +94,13 @@ Grab the code::
Running unit tests
------------------
The preferred way to run the unit tests is using ``tox``. It executes tests in
isolated environment, by creating separate virtualenv and installing
dependencies from the ``requirements.txt`` and ``test-requirements.txt`` files,
so the only package you install is ``tox`` itself::
sudo pip install tox
Run the unit tests by doing::
tox -e py35