diff options
author | John R Barker <john@johnrbarker.com> | 2017-04-28 11:58:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-28 11:58:38 +0100 |
commit | 8733253a76376736ce80e1f66105e2972a5c354c (patch) | |
tree | 5b9f29a830c6f1be695cae482bf0a44e9905527c /docs/docsite/rst/dev_guide/testing_integration_legacy.rst | |
parent | ecbf8e933a7eaccc8e341413d703e45d45d78986 (diff) | |
download | ansible-8733253a76376736ce80e1f66105e2972a5c354c.tar.gz |
Minor testing docs improvements (#24103)
Fix a few formatting issues spotted post review.
Also reapply missing commit
Diffstat (limited to 'docs/docsite/rst/dev_guide/testing_integration_legacy.rst')
-rw-r--r-- | docs/docsite/rst/dev_guide/testing_integration_legacy.rst | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/docsite/rst/dev_guide/testing_integration_legacy.rst b/docs/docsite/rst/dev_guide/testing_integration_legacy.rst index deb97e2cf4..0c7358b394 100644 --- a/docs/docsite/rst/dev_guide/testing_integration_legacy.rst +++ b/docs/docsite/rst/dev_guide/testing_integration_legacy.rst @@ -29,7 +29,7 @@ Cloud tests exercise capabilities of cloud modules (e.g. ec2_key). These are not 'tests run in the cloud' so much as tests that leverage the cloud modules and are organized by cloud provider. -Some AWS tests may use environment variables. It is recommended to either unset any AWS environment variables( such as ``AWS_DEFAULT_PROFILE``, ``AWS_SECRET_ACCESS_KEY``, etc) or be sure that the environment variables match the credentials provided in ``credentials.yml`` to ensure the tests run with consistency to their full capability on the expected account . See `AWS CLI docs <http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html>`_ for information on creating a profile. +Some AWS tests may use environment variables. It is recommended to either unset any AWS environment variables( such as ``AWS_DEFAULT_PROFILE``, ``AWS_SECRET_ACCESS_KEY``, etc) or be sure that the environment variables match the credentials provided in ``credentials.yml`` to ensure the tests run with consistency to their full capability on the expected account. See `AWS CLI docs <http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html>`_ for information on creating a profile. Subsets of tests may be run by ``#commenting`` out unnecessary roles in the appropriate playbook, such as ``test/integration/amazon.yml``. @@ -46,6 +46,7 @@ Provide cloud credentials:: Other configuration =================== + In order to run some tests, you must provide access credentials in a file named ``credentials.yml``. A sample credentials file named ``credentials.template`` is available for syntax help. @@ -53,12 +54,14 @@ named ``credentials.yml``. A sample credentials file named Running Tests ============= -The tests are invoked via a ``Makefile``:: +The tests are invoked via a ``Makefile``. - # If you haven't already got Ansible available use the local checkout by doing:: +If you haven't already got Ansible available use the local checkout by doing:: source hacking/env-setup +Run the tests by doing:: + cd test/integration/ # TARGET is the name of the test from the list at the top of this page #make TARGET |