summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 15 insertions, 1 deletions
diff --git a/README.md b/README.md
index 64e42112b..a41f1ff26 100644
--- a/README.md
+++ b/README.md
@@ -51,13 +51,14 @@ How to install gdeploy:
To install glusto-tests dependencies:
--------------------------------------------------
-- `python-docx` and `numpy` has to be installed to run IO and validate it on client node.
+- `python-docx`, `sh` and `numpy` has to be installed to run IO and validate it on client node.
- To install run :
# curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
# python get-pip.py
# pip install --pre python-docx
# pip install numpy
+ # pip install sh
- `arequal` needs to be installed on all servers and clients.
- To install download the below repo into /etc/yum.repos.d/
@@ -135,6 +136,19 @@ The most common used is Pytest.
For more info about running tests on PyUnit, Pytest and Nose Tests, refer the [docs](http://glusto.readthedocs.io/en/latest/userguide/glusto.html#options-for-running-unit-tests).
+glusto-tests can also be executed using `tox`:
+
+ # tox -e functional -- glusto -c 'config.yml' --pytest='-v -s -k test_demo1'
+
+glusto-tests can also be executed with python3 using `tox`:
+
+ # tox -e functional3 -- glusto -c 'config.yml' --pytest='-v -s -k test_demo1'
+
+**NOTE:**
+- Please note that glusto-tests is not completely compatible with python3.
+- You would not need to install the glusto or glusto-tests libraries while running it
+ using `tox`. For more info about tox refer the [docs](https://tox.readthedocs.io/en/latest/#).
+
Writing tests in glusto-tests:
----------------------------------
- `tests` directory in glusto-tests contain testcases. Testcases are written as component wise.