Added docs for installation and running tests

Change-Id: I2fef8374ff8efe9fcb5588de0c312f87f6a803e4
This commit is contained in:
Chandan Kumar 2017-11-10 17:35:16 +05:30
parent 30219666aa
commit 8b929b30fb
3 changed files with 20 additions and 7 deletions

View File

@ -14,4 +14,4 @@ Pull requests submitted through GitHub will be ignored.
Bugs should be filed on Launchpad, not GitHub: Bugs should be filed on Launchpad, not GitHub:
https://bugs.launchpad.net/zaqar_tempest_plugin https://bugs.launchpad.net/zaqar

View File

@ -10,3 +10,15 @@ It contains the tempest plugin for the functional testing of Zaqar Project.
* Documentation: http://docs.openstack.org/developer/zaqar * Documentation: http://docs.openstack.org/developer/zaqar
* Source: http://git.openstack.org/cgit/openstack/zaqar-tempest-plugin * Source: http://git.openstack.org/cgit/openstack/zaqar-tempest-plugin
* Bugs: http://bugs.launchpad.net/zaqar * Bugs: http://bugs.launchpad.net/zaqar
Running the tests
-----------------
To run all tests from this plugin, install Zaqar into your environment
and from the tempest repo, run::
$ tox -e all-plugin -- zaqar_tempest_tests
To run all tempest tests including this plugin, run::
$ tox -e all-plugin

View File

@ -2,11 +2,12 @@
Installation Installation
============ ============
Tempest automatically discovers installed plugins. That's why you just need
to install the Python packages that contains the Zaqar Tempest plugin in
the same environment where Tempest is installed.
At the command line:: At the command line::
$ pip install openstack $ git clone https://git.openstack.org/openstack/zaqar-tempest-plugin
$ cd zaqar-tempest-plugin/
Or, if you have virtualenvwrapper installed:: $ pip install zaqar-tempest-plugin
$ mkvirtualenv openstack
$ pip install openstack