diff options
author | kshithijiyer <kshithij.ki@gmail.com> | 2019-12-05 15:53:18 +0530 |
---|---|---|
committer | Kshithij Iyer <kiyer@redhat.com> | 2019-12-06 07:35:53 +0000 |
commit | 2e30b341345ed21015d5b239ce469bf08871766b (patch) | |
tree | f3e9e420342d1b5d485f62b85ff99a57f12c2c68 /README.md | |
parent | 50453885291f5c5341ceb3a732be9a068873cffe (diff) |
[Doc] Add info about running glusto-tests using tox
Change-Id: I9473f2a3c7a57e71de9edf902850bd65e6968e17
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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. |