Update docs since manila_tempest_tests are installed system-wide
Since manila_tempest_tests are now installed system-wide, update the commands in the docs that show how to run tempest tests. Depends-On: I0844cdb48b9d415bd341c4687620412178be871b Change-Id: I4543d7170164bee4703cc4418991a03f7289dda9 Signed-off-by: Rishabh Dave <ridave@redhat.com>
This commit is contained in:
parent
6368a9e887
commit
dab53dbc9c
@ -89,13 +89,13 @@ from tempest root directory:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ tox -e all-plugin -- manila_tempest_tests.tests.api
|
||||
$ tempest run -r manila_tempest_tests.tests.api
|
||||
|
||||
or to run only scenario tests:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ tox -e all-plugin -- manila_tempest_tests.tests.scenario
|
||||
$ tempest run -r manila_tempest_tests.tests.scenario
|
||||
|
||||
.. _pip: https://pypi.python.org/pypi/pip
|
||||
.. _tox: https://pypi.python.org/pypi/tox
|
||||
@ -111,28 +111,28 @@ To run the tests in the ``manila_tempest_tests/tests/api/admin`` directory:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ tox -e all-plugin -- manila_tempest_tests.tests.api.admin
|
||||
$ tempest run -r manila_tempest_tests.tests.api.admin
|
||||
|
||||
To run the tests in the
|
||||
``manila_tempest_tests/tests/api/admin/test_admin_actions.py`` module:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ tox -e all-plugin -- manila_tempest_tests.tests.api.admin.test_admin_actions
|
||||
$ tempest run -r manila_tempest_tests.tests.api.admin.test_admin_actions
|
||||
|
||||
To run the tests in the `AdminActionsTest` class in
|
||||
``manila_tempest_tests/tests/api/admin/test_admin_actions.py`` module:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ tox -e all-plugin -- manila_tempest_tests.tests.api.admin.test_admin_actions.AdminActionsTest
|
||||
$ tempest run -r manila_tempest_tests.tests.api.admin.test_admin_actions.AdminActionsTest
|
||||
|
||||
To run the `AdminActionsTest.test_reset_share_state` test method in
|
||||
``manila_tempest_tests/tests/api/admin/test_admin_actions.py`` module:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ tox -e all-plugin -- manila_tempest_tests.tests.api.admin.test_admin_actions.AdminActionsTest.test_reset_share_state
|
||||
$ tempest run -r manila_tempest_tests.tests.api.admin.test_admin_actions.AdminActionsTest.test_reset_share_state
|
||||
|
||||
Running a subset of tests based on service involvement
|
||||
------------------------------------------------------
|
||||
@ -140,7 +140,7 @@ To run the tests that require only `manila-api` service running:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ tox -e all-plugin -- \
|
||||
$ tempest run -r \
|
||||
\(\?\=\.\*\\\[\.\*\\bapi\\b\.\*\\\]\) \
|
||||
\(\^manila_tempest_tests.tests.api\)
|
||||
|
||||
@ -149,7 +149,7 @@ but intended to test API behaviour:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ tox -e all-plugin -- \
|
||||
$ tempest run -r \
|
||||
\(\?\=\.\*\\\[\.\*\\b\(api\|api_with_backend\)\\b\.\*\\\]\) \
|
||||
\(\^manila_tempest_tests.tests.api\)
|
||||
|
||||
@ -158,7 +158,7 @@ but intended to test back-end (manila-share) behaviour:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ tox -e all-plugin -- \
|
||||
$ tempest run -r \
|
||||
\(\?\=\.\*\\\[\.\*\\bbackend\\b\.\*\\\]\) \
|
||||
\(\^manila_tempest_tests.tests.api\)
|
||||
|
||||
@ -168,7 +168,7 @@ To run only positive tests, use following command:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ tox -e all-plugin -- \
|
||||
$ tempest run -r \
|
||||
\(\?\=\.\*\\\[\.\*\\bpositive\\b\.\*\\\]\) \
|
||||
\(\^manila_tempest_tests.tests.api\)
|
||||
|
||||
@ -176,7 +176,7 @@ To run only negative tests, use following command:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ tox -e all-plugin -- \
|
||||
$ tempest run -r \
|
||||
\(\?\=\.\*\\\[\.\*\\bnegative\\b\.\*\\\]\) \
|
||||
\(\^manila_tempest_tests.tests.api\)
|
||||
|
||||
@ -184,7 +184,7 @@ To run only positive API tests, use following command:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ tox -e all-plugin -- \
|
||||
$ tempest run -r \
|
||||
\(\?\=\.\*\\\[\.\*\\bpositive\\b\.\*\\\]\) \
|
||||
\(\?\=\.\*\\\[\.\*\\bapi\\b\.\*\\\]\) \
|
||||
\(\^manila_tempest_tests.tests.api\)
|
||||
|
Loading…
Reference in New Issue
Block a user