From f8fd73907f804ba62156e2d186a227d97c63d564 Mon Sep 17 00:00:00 2001 From: Chris Solis Date: Mon, 25 Jan 2016 15:31:18 -0600 Subject: [PATCH] Updates python3.4 dependencies in docs In order to run the unit tests within the python3.4 testing environment. This patch adds those dependencies to the docs and also specifies how to run the tests. Change-Id: Ib6b7db0a20dfb38ed00a848fab8ff33a93365cdb --- doc/source/testing.rst | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/doc/source/testing.rst b/doc/source/testing.rst index 5d713c90d..abf16b434 100644 --- a/doc/source/testing.rst +++ b/doc/source/testing.rst @@ -15,7 +15,7 @@ refer to the `tox documentation`_ for assistance. Unit Tests ---------- -Currently, we provide tox environments for Python 2.7. By default +Currently, we provide tox environments for Python 2.7 and 3.4. By default all available test environments within the tox configuration will execute when calling ``tox``. If you want to run them independently, you can do so with the following command: @@ -66,6 +66,31 @@ want to examine, then running the following command: For a list of pdb commands, please see: https://docs.python.org/2/library/pdb.html +**Python 3.4** + +In order to run the unit tests within the Python 3.4 unit testing environment +you need to make sure you have all necessary packages installed. + +- On Ubuntu/Debian:: + + sudo apt-get install python3-dev + +- On Fedora 21/RHEL7/CensOS7:: + + sudo yum install python3-devel + +- On Fedora 22 and higher:: + + sudo dnf install python3-devel + +You then specify to run the unit tests within the Python 3.4 environment when +invoking tox + +.. code-block:: bash + + # Executes tests on Python 3.4 + tox -e py34 + Functional Tests ----------------