ansible/test
Matt Clay cb1f57d4e5 Add rstcheck to ansible-test and correct issues. (#23550)
* Add rstcheck to ansible-test.
* Fix rst code-block languages and syntax errors.
* Fix rst inline literals.
* Update python 2 code block to pass tests on py 3.
2017-04-13 10:28:52 -07:00
..
compile Remove python 2.4 compile test. 2017-03-15 15:46:12 -07:00
integration added test emulating #23180 use case 2017-04-12 18:34:29 -04:00
results Create bot friendly sanity output. (#22381) 2017-03-07 14:59:50 -08:00
runner Add rstcheck to ansible-test and correct issues. (#23550) 2017-04-13 10:28:52 -07:00
sanity Add rstcheck to ansible-test and correct issues. (#23550) 2017-04-13 10:28:52 -07:00
units Ryanpineo fix ipaddr netmask with 32 cidr (#23506) 2017-04-11 14:10:43 -07:00
utils Fix var precedence check to support python 3. (#23552) 2017-04-13 00:07:40 -07:00
README.md Update unit test requirements in README. 2017-04-04 10:55:49 -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: pip install -r test/runner/requirements/units.txt

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.