2014-02-21 00:10:38 +00:00
|
|
|
Ansible Test System
|
|
|
|
===================
|
|
|
|
|
|
|
|
Folders
|
2014-04-02 21:29:05 +00:00
|
|
|
=======
|
2014-02-21 00:10:38 +00:00
|
|
|
|
|
|
|
unit
|
|
|
|
----
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
2015-11-03 19:11:22 +00:00
|
|
|
Requirements: `sudo pip install paramiko PyYAML jinja2 httplib2 passlib nose mock`
|
2014-04-02 21:29:05 +00:00
|
|
|
|
2014-02-21 00:10:38 +00:00
|
|
|
integration
|
|
|
|
-----------
|
|
|
|
|
|
|
|
Integration test layer, constructed using playbooks.
|
|
|
|
|
2014-03-08 10:49:55 +00:00
|
|
|
Some tests may require cloud credentials, others will not, and destructive tests are separated from non-destructive so a subset
|
2014-02-21 00:10:38 +00:00
|
|
|
can be run on development machines.
|
|
|
|
|
2016-10-16 10:01:04 +00:00
|
|
|
Tests for network modules can be found in https://github.com/ansible/test-network-modules/
|
|
|
|
|
2014-02-21 00:10:38 +00:00
|
|
|
learn more
|
|
|
|
----------
|
|
|
|
|
|
|
|
hop into a subdirectory and see the associated README.md for more info.
|
|
|
|
|
|
|
|
|
|
|
|
|