From 46b54443f11c3b5dc1ae68547b2d9eb8ef50f7ee Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Wed, 15 Oct 2014 18:25:54 -0400 Subject: [PATCH] Add a README for the v2 unittests --- v2/README-tests.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 v2/README-tests.md diff --git a/v2/README-tests.md b/v2/README-tests.md new file mode 100644 index 0000000000..956160b653 --- /dev/null +++ b/v2/README-tests.md @@ -0,0 +1,33 @@ +Ansible Test System +=================== + +Folders +======= + +test +---- + +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 unittest2 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. + + +