Skip to content

Conversation

mpminardi
Copy link
Member

@mpminardi mpminardi commented Jul 22, 2024

Add initial acceptance testing setup logic and a basic acceptance test for the new webhook resource.

Updates https://github.com/tailscale/corp/issues/21842

@mpminardi mpminardi self-assigned this Jul 22, 2024
@mpminardi mpminardi force-pushed the mpminardi/webhook-resource branch from 1f8f161 to 6284e65 Compare July 24, 2024 19:13
@mpminardi mpminardi force-pushed the mpminardi/initial-acceptance-test branch from 8dd4a24 to 00b79e1 Compare July 24, 2024 19:14
@mpminardi mpminardi marked this pull request as ready for review July 25, 2024 22:53

Tests in this repo that are prefixed with `TestAcc` are acceptance tests which run against a real instance of the tailscale control plane.
These tests are skipped unless the `TF_ACC` environment variable is set.
Running `make testacc` sets the `TF_ACC` variable and runs the tests.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit - maybe mention that this is internal to the Terraform code and include link to https://developer.hashicorp.com/terraform/plugin/sdkv2/testing/acceptance-tests#requirements-and-recommendations

@mpminardi mpminardi force-pushed the mpminardi/initial-acceptance-test branch from 00b79e1 to 9ff27ef Compare August 1, 2024 20:49
@mpminardi mpminardi force-pushed the mpminardi/webhook-resource branch from 6284e65 to f6ff2f6 Compare August 1, 2024 21:31
Base automatically changed from mpminardi/webhook-resource to main August 1, 2024 21:36
Add initial acceptance testing setup logic and a basic acceptance test
for the new webhook resource.

Updates tailscale/corp#21842
@mpminardi mpminardi force-pushed the mpminardi/initial-acceptance-test branch from 9ff27ef to 0b27a26 Compare August 1, 2024 21:37
@mpminardi mpminardi merged commit 5196360 into main Aug 1, 2024
3 checks passed
@mpminardi mpminardi deleted the mpminardi/initial-acceptance-test branch August 1, 2024 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants