ansible-collection-hetzner-.../tests
Jonas L c5e0d429c5
test: implement integration testing framework (#239)
Fixes #203

The namespace used to differentiate the resources between CI pipelines, CI stages or even between test targets was broken and resulted in conflicting resource names. This PR ensure the resources names don't collide with each other by making sure we use the entire hcloud_prefix value as md5sum, and by including the target role names inside the resource names.

Create a setup/teardown framework to handle testing resources used by the tests.

To simplify the review process, additional changes such as splitting the setup/teardown task in the prepare.yml and cleanup.yml files will be done in future PRs (many files were renamed, and git will not preserve the file history after the PR squash).

* chore: move integrations targets files

* test: create integration common files

* test: fix resources name namespace using the magic hcloud_ns

* test: simplify requirements install

* test: rename hcloud_server test taskfiles
2023-07-26 16:09:48 +02:00
..
integration test: implement integration testing framework (#239) 2023-07-26 16:09:48 +02:00
unit/module_utils feat: improve hcloud library exceptions handling (#243) 2023-07-20 14:34:48 +02:00
utils test: implement integration testing framework (#239) 2023-07-26 16:09:48 +02:00
.gitignore Initial commit 2020-03-09 13:36:01 +00:00
config.yml feat: drop support for python3.7 (#270) 2023-07-19 14:28:21 +02:00
requirements.yml test: implement integration testing framework (#239) 2023-07-26 16:09:48 +02:00