1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-03 23:51:48 +00:00

test: improve *_info modules tests (#299)

##### SUMMARY

- Implement the new testing framework (prepare.yml/cleanup.yml #239)
- Fix some uncovered test scenarios (related to #298).
- Structure all the *_info tests using the following structure:
  ```
  gather all
  [gather all with custom options...]
  gather all in check mode
  gather with id
  gather with name
  gather with labels
  [gather with custom option...]
  ```
This commit is contained in:
Jonas L 2023-08-17 09:44:33 +02:00 committed by GitHub
parent e461a890fa
commit 8b24cf2522
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 982 additions and 837 deletions

View file

@ -6,34 +6,21 @@ exclude_paths:
- .github/
- changelogs/
- tests/integration/targets/hcloud_certificate
- tests/integration/targets/hcloud_certificate_info
- tests/integration/targets/hcloud_datacenter_info
- tests/integration/targets/hcloud_firewall
- tests/integration/targets/hcloud_floating_ip
- tests/integration/targets/hcloud_floating_ip_info
- tests/integration/targets/hcloud_image_info
- tests/integration/targets/hcloud_iso_info
- tests/integration/targets/hcloud_load_balancer
- tests/integration/targets/hcloud_load_balancer_info
- tests/integration/targets/hcloud_load_balancer_network
- tests/integration/targets/hcloud_load_balancer_service
- tests/integration/targets/hcloud_load_balancer_target
- tests/integration/targets/hcloud_load_balancer_type_info
- tests/integration/targets/hcloud_network
- tests/integration/targets/hcloud_network_info
- tests/integration/targets/hcloud_placement_group
- tests/integration/targets/hcloud_primary_ip
- tests/integration/targets/hcloud_primary_ip_info
- tests/integration/targets/hcloud_rdns
- tests/integration/targets/hcloud_route
- tests/integration/targets/hcloud_server
- tests/integration/targets/hcloud_server_info
- tests/integration/targets/hcloud_server_network
- tests/integration/targets/hcloud_server_type_info
- tests/integration/targets/hcloud_ssh_key
- tests/integration/targets/hcloud_ssh_key_info
- tests/integration/targets/hcloud_subnetwork
- tests/integration/targets/hcloud_volume
- tests/integration/targets/hcloud_volume_info
- tests/integration/targets/setup_selfsigned_certificate
- tests/integration/targets/setup_ssh_keypair