Merge ~powersj/cloud-init:update_cii_tox_docs into cloud-init:master

Proposed by Joshua Powers
Status: Merged
Merged at revision: 4783ac0562ff3eb9ca1dfa82bccaf022c4187d16
Proposed branch: ~powersj/cloud-init:update_cii_tox_docs
Merge into: cloud-init:master
Diff against target: 25 lines (+14/-0)
1 file modified
doc/rtd/topics/tests.rst (+14/-0)
Reviewer Review Type Date Requested Status
Server Team CI bot continuous-integration Approve
cloud-init Commiters Pending
Review via email: mp+319617@code.launchpad.net

Commit message

doc: add running via tox instructions for integration tests

To post a comment you must log in.
Revision history for this message
Joshua Powers (powersj) wrote :
Revision history for this message
Server Team CI bot (server-team-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Scott Moser (smoser) wrote :

thoughts ? disagree?

Revision history for this message
Joshua Powers (powersj) wrote :

I am fine with removing the dependency section, running via tox is much simpler anyway. Update made, only have the run via tox method now.

Revision history for this message
Server Team CI bot (server-team-bot) wrote :
review: Approve (continuous-integration)

There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/doc/rtd/topics/tests.rst b/doc/rtd/topics/tests.rst
2index 00c63c6..0663811 100644
3--- a/doc/rtd/topics/tests.rst
4+++ b/doc/rtd/topics/tests.rst
5@@ -238,6 +238,20 @@ without the more lengthy collect process. This can be done by running:
6 The above command will run the verify scripts on the data discovered in
7 `/tmp/collection`.
8
9+Run via tox
10+-----------
11+In order to avoid the need for dependencies and ease the setup and
12+configuration users can run the integration tests via tox:
13+
14+.. code-block:: bash
15+
16+ $ tox -e citest -- run [integration test arguments]
17+ $ tox -e citest -- run -v -n zesty --deb=cloud-init_all.deb
18+ $ tox -e citest -- run -t module/user_groups.yaml
19+
20+Users need to invoke the citest enviornment and then pass any additional
21+arguments.
22+
23
24 Architecture
25 ============

Subscribers

People subscribed via source and target branches