From 2e30b341345ed21015d5b239ce469bf08871766b Mon Sep 17 00:00:00 2001 From: kshithijiyer Date: Thu, 5 Dec 2019 15:53:18 +0530 Subject: [Doc] Add info about running glusto-tests using tox Change-Id: I9473f2a3c7a57e71de9edf902850bd65e6968e17 Signed-off-by: kshithijiyer --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 64e42112b..9672ba7e3 100644 --- a/README.md +++ b/README.md @@ -135,6 +135,23 @@ 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. -- cgit