summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.rst12
1 files changed, 11 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index 650db173..dc7c32e1 100644
--- a/README.rst
+++ b/README.rst
@@ -71,7 +71,7 @@ Executing the test cases
$ tests/glusterfs-containers-tests-config.yaml
-* To run test cases in a virtual environment:
+* To run test cases in a virtual environment using py2:
.. code-block::
@@ -106,6 +106,16 @@ Executing the test cases
tests/glusterfs-containers-tests-config.yaml \
'--pytest=-v -rsx tests'
+* To run test cases in a virtual environment using py3:
+
+ .. code-block::
+
+ $ python3 -m tox -e functional3 -- glusto -c <config_file> \
+ '--pytest=-v -rsx <test_file_path_or_dir>'
+
+ Note, that "tox" and other python packages should be installed
+ using pip3 - separate package installer than the one used for py2 (pip).
+
Writing tests in `glusterfs-containers-tests`
*********************************************