ansible/test
John R Barker fb3bef7f46 Use inventory_hostname_short (#20054)
When using AWS we have to use the full domain name in the inventory file, which
we rather than the short name. This change avoids that ending up being
set in the tests.
2017-01-09 17:21:04 +00:00
..
compile Initial Commit for Infinidat Ansible Modules (#19429) 2016-12-22 13:18:19 +00:00
integration Use inventory_hostname_short (#20054) 2017-01-09 17:21:04 +00:00
results Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
runner Correct test constraints and add sanity check. 2017-01-08 16:44:31 -08:00
sanity Correct test constraints and add sanity check. 2017-01-08 16:44:31 -08:00
units Improve --diff output when files lack trailing newlines 2017-01-09 11:49:03 -05:00
utils Changes to the httptester docker image to support new client cert functionality in tests (#19912) 2017-01-04 21:07:13 -08:00
README.md Test reorganization and cleanup. (#18270) 2016-10-31 12:53:11 -07:00

Ansible Test System

Folders

units

Unit tests that test small pieces of code not suited for the integration test layer, usually very API based, and should leverage mock interfaces rather than producing side effects.

Playbook engine code is better suited for integration tests.

Requirements: sudo pip install paramiko PyYAML jinja2 httplib2 passlib nose mock

integration

Integration test layer, constructed using playbooks.

Some tests may require cloud credentials, others will not, and destructive tests are separated from non-destructive so a subset can be run on development machines.

learn more

hop into a subdirectory and see the associated README.md for more info.