From 4783ac0562ff3eb9ca1dfa82bccaf022c4187d16 Mon Sep 17 00:00:00 2001 From: Joshua Powers Date: Fri, 10 Mar 2017 12:55:26 -0700 Subject: doc: add instructions for running integration tests via tox. Add instructions on how to run the cii tests to the docs. --- doc/rtd/topics/tests.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'doc/rtd') diff --git a/doc/rtd/topics/tests.rst b/doc/rtd/topics/tests.rst index 00c63c63..0663811e 100644 --- a/doc/rtd/topics/tests.rst +++ b/doc/rtd/topics/tests.rst @@ -238,6 +238,20 @@ without the more lengthy collect process. This can be done by running: The above command will run the verify scripts on the data discovered in `/tmp/collection`. +Run via tox +----------- +In order to avoid the need for dependencies and ease the setup and +configuration users can run the integration tests via tox: + +.. code-block:: bash + + $ tox -e citest -- run [integration test arguments] + $ tox -e citest -- run -v -n zesty --deb=cloud-init_all.deb + $ tox -e citest -- run -t module/user_groups.yaml + +Users need to invoke the citest enviornment and then pass any additional +arguments. + Architecture ============ -- cgit v1.2.3