1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test
Sam Doran 10a8c6bc25 Integration tests for import/include (#33418)
* First pass at include_role tests

* Reorganize test structure

Do all import and include tests in a single target.

* Build out more tests and test with linear and free strategy for each type

* import_role tests

* Set target host for play test

* Basic import_playbook tests

* Basic import/include_tasks tests

* Add recursion test

* import_playbook tests

* Add import_playbook group_vars test

Issue #33177

* Additional group_var tests for import_playbook

* Enable recursion test

* More work on import_tasks

* Run all tests via run.sh, improve conditional tests, add never tag

Add never tag to certain failining tests and explicitly skip it for now until #34104 is merged. Some tasks need to remain commented out because they cause the entire play to fail and aren't skippable by tags because they are syntax and/or variable checks.

Improve test for whether or not a role was run based on a conditional. Since the [import|include]_role does not register a variable, use a variable that is set inside a role as a canary test for whether or not the role was run.

* Use a fail task rather than trigger a failure via bogus command

This should resolve the "unstable" test results.

* Import tag tests

Fix bug it tests where validate tasks weren't run on tag tests.
Add tests for task import/include with tags.

* Remove test for playbook group_var inheritance
2018-01-19 08:23:48 -08:00
..
cache Update ansible-test sanity command. (#31958) 2017-10-26 00:21:46 -07:00
compile Fix Python 3.7 syntax error in yum_repository. 2018-01-09 17:54:10 -08:00
integration Integration tests for import/include (#33418) 2018-01-19 08:23:48 -08:00
legacy vultr: new module vr_dns_record (#34423) 2018-01-19 09:34:23 +01:00
results Collect data from integration test runs. (#28650) 2017-08-25 18:14:47 -04:00
runner Simplify Windows versions in ansible-test. 2018-01-17 16:16:15 -08:00
sanity Fix CaptureStd in validate-modules to work on both py3 and py2 (#35060) 2018-01-18 14:50:31 -06:00
units junos scp module (#31950) 2018-01-19 11:07:47 -05:00
utils Simplify Windows versions in ansible-test. 2018-01-17 16:16:15 -08:00