diff options
author | Thiago da Silva <thiago@redhat.com> | 2014-03-17 15:51:10 -0400 |
---|---|---|
committer | Thiago da Silva <thiago@redhat.com> | 2014-03-17 16:01:12 -0400 |
commit | 7566a214ba3c5311b3e68a7b916d8850b5c75bf4 (patch) | |
tree | 83b1331d9a237f6e85a672eaf8e616e5cc81a650 /doc | |
parent | a25b467dab4ca7528106a68c7ba3c44ede32db00 (diff) |
adding information about tox and virtualenv
There's currently an issue with the latest version of tox and
this is keeping people from running the tests. Installing the
previous version is a workaround until the problem with tox
is solved
Change-Id: I3d8a842038f6265daf42c5624ef209bf248570a6
Signed-off-by: Thiago da Silva <thiago@redhat.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/markdown/dev_guide.md | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/markdown/dev_guide.md b/doc/markdown/dev_guide.md index 49f37a7..f568986 100644 --- a/doc/markdown/dev_guide.md +++ b/doc/markdown/dev_guide.md @@ -4,7 +4,7 @@ The workflow for libgfapi-python is largely based upon the [Gluster-Swift Developer Guide][] and [OpenStack Gerrit Workflow][]. Refer to those documents for setting up a Gerrit account and a complete development environment. -This document focuses on setting up a quick environment for running tox tests (especially the functional tests). +This document focuses on setting up a quick environment for running tox tests (especially the functional tests). This document also assumes that GlusterFS is already installed. On CentOS/RHEL you will need to setup GlsuterFS and EPEL repos. ### Package Requirements @@ -51,10 +51,12 @@ cd libgfapi-python ### Tox and Nose -libgfapi-python uses tox python virtual environment for its unit and functional tests. To install tox type: +libgfapi-python uses tox python virtual environment for its unit and functional tests. There is currently an incompatibility issue with the latest version of tox and virtualenv. To work around these issues, install install tox, nose and virutalenv by typing this: ``` -sudo pip install --upgrade tox nose +sudo pip install --upgrade "tox>=1.6,<1.7" +sudo pip install --upgrade "virtualenv>=1.10,<1.11" +sudo pip install --upgrade nose ``` ### Git Review @@ -200,7 +202,7 @@ If new functionality has been added, it is highly recommended that one or more t ### Functional tests -The functional tests expects a `test` volume to be created and accessible. +The functional tests expects a GlusterFS `test` volume to be created and accessible. To run the functional tests, please type: |