summaryrefslogtreecommitdiff
path: root/doc/rtd/topics/tests.rst
diff options
context:
space:
mode:
authorJoshua Powers <josh.powers@canonical.com>2017-03-10 12:55:26 -0700
committerScott Moser <smoser@brickies.net>2017-03-13 14:44:19 -0400
commit4783ac0562ff3eb9ca1dfa82bccaf022c4187d16 (patch)
treedb31464a287c370bdbcbe8a4f9c5a5927c821d0b /doc/rtd/topics/tests.rst
parent66dfb0915d4abf3f61948f281c4aff8394494ed3 (diff)
downloadvyos-cloud-init-4783ac0562ff3eb9ca1dfa82bccaf022c4187d16.tar.gz
vyos-cloud-init-4783ac0562ff3eb9ca1dfa82bccaf022c4187d16.zip
doc: add instructions for running integration tests via tox.
Add instructions on how to run the cii tests to the docs.
Diffstat (limited to 'doc/rtd/topics/tests.rst')
-rw-r--r--doc/rtd/topics/tests.rst14
1 files changed, 14 insertions, 0 deletions
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
============