1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Move integration tests into tests_new.

This commit is contained in:
Michael DeHaan 2014-02-20 19:10:38 -05:00
parent 876da62f82
commit de600f0040
134 changed files with 28 additions and 31 deletions

View file

@ -1,7 +0,0 @@
Legacy tests
============
These tests are active but are being refactored.
See 'new_tests' directory for what will soon replace them.

28
tests/README.md Normal file
View file

@ -0,0 +1,28 @@
Ansible Test System
===================
Folders
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.
integration
-----------
Integration test layer, constructed using playbooks.
Some tests may require cloud credentials, others will not, and destructive tests are seperated 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.

View file

@ -60,7 +60,6 @@ fileglob = []
There are also various string operations that work on paths. These do not require There are also various string operations that work on paths. These do not require
files to exist and are passthrus to the python os.path functions files to exist and are passthrus to the python os.path functions
'~/foo' with expanduser = /root/foo
/etc/motd with basename = motd /etc/motd with basename = motd
/etc/motd with dirname = /etc /etc/motd with dirname = /etc

View file

@ -47,7 +47,6 @@ fileglob = {{ (output_dir + '/*') | fileglob }}
There are also various string operations that work on paths. These do not require There are also various string operations that work on paths. These do not require
files to exist and are passthrus to the python os.path functions files to exist and are passthrus to the python os.path functions
'~/foo' with expanduser = {{ '~/foo' | expanduser }}
/etc/motd with basename = {{ '/etc/motd' | basename }} /etc/motd with basename = {{ '/etc/motd' | basename }}
/etc/motd with dirname = {{ '/etc/motd' | dirname }} /etc/motd with dirname = {{ '/etc/motd' | dirname }}

Some files were not shown because too many files have changed in this diff Show more