ansible/test/README.md

34 lines
831 B
Markdown
Raw Normal View History

2014-02-21 01:10:38 +01:00
Ansible Test System
===================
Folders
=======
2014-02-21 01:10:38 +01: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 20:11:22 +01:00
Requirements: `sudo pip install paramiko PyYAML jinja2 httplib2 passlib nose mock`
2014-02-21 01:10:38 +01:00
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
2014-02-21 01:10:38 +01:00
can be run on development machines.
2016-10-16 12:01:04 +02:00
Tests for network modules can be found in https://github.com/ansible/test-network-modules/
2014-02-21 01:10:38 +01:00
learn more
----------
hop into a subdirectory and see the associated README.md for more info.