diff options
Diffstat (limited to 'docs/how-to-use/Testing.rst')
-rw-r--r-- | docs/how-to-use/Testing.rst | 31 |
1 files changed, 5 insertions, 26 deletions
diff --git a/docs/how-to-use/Testing.rst b/docs/how-to-use/Testing.rst index 586974a..7627927 100644 --- a/docs/how-to-use/Testing.rst +++ b/docs/how-to-use/Testing.rst @@ -1,23 +1,14 @@ Running Unit Test Suite ======================= -These tests are written in Python and require an that it is setup before running the tests. -See `install directions <index.md>`__ for Python installation instructions. - -Start by cloning the snaps-provisioning repository --------------------------------------------------- - -``git clone https://gerrit.cablelabs.com/snaps-provisioning`` - -Install Library ---------------- - -``pip install -e <path to repo>/`` - Execute the tests ----------------- -| ``cd <path to repo> python snaps/unit_test_suite.py -e [path to RC file] -n [external network name]`` +:: + +cd <path to repo> +python snaps/unit_test_suite.py -e <path to RC file> -n <external network name> + | \* All Supported Arguments | \* -e [required - The path to the OpenStack RC file] | \* -n [required - The name of the external network to use for routers @@ -30,15 +21,3 @@ Execute the tests | \* -f [optional - When set, will not execute tests requiring Floating IPS] | \* -u [optional - When set, the unit tests will be executed] - -Test descriptions -================= - -`Unit Testing <UnitTests.rst>`__ - Tests that do not require a connection to OpenStack --------------------------------------------------------------------------------------- - -`OpenStack API Tests <APITests.rst>`__ - Tests many individual OpenStack API calls ----------------------------------------------------------------------------------- - -`Integration Tests <IntegrationTests.rst>`__ - Tests OpenStack object creation in a context. These tests will be run within a custom project as a specific user. ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |