Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor integration tests to be table-driven #118

Merged
merged 5 commits into from
Sep 19, 2024

Conversation

zbuchheit
Copy link
Contributor

  • Refactor integration tests to be table-drive and all check for a diff-less preview
  • Rename some tests to accurately reflect their resources
  • Make resources in tests consistently have hyphenated pulumi names

Add additional arguments to the site-settings-ts test for a more robust
test. Also check for a spurious diff and expect no changes.
The pulumi names of the resources were inconsistently hyphenated and
underscored. Changing these resources to all be hyphenated. Also,
rename all the wlan ssid to be named after their test.
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Maintainer note: consult the runbook for dealing with any breaking changes.

@zbuchheit zbuchheit force-pushed the zbuchheit/integration-tests-14119080 branch from 4abf50f to c17caf0 Compare September 18, 2024 20:13
Rename the site-wlan-ts test and site-wlan-isolation-ts test to reflect
the resources inside. They are not org wlans.
The new version of providertest requires you to include t when you call
pulumitest operations.
@zbuchheit zbuchheit force-pushed the zbuchheit/integration-tests-14119080 branch from c17caf0 to 93f9c48 Compare September 18, 2024 22:43
@zbuchheit
Copy link
Contributor Author

I missed some linting, that's why the force push

Copy link
Member

@mikhailshilkov mikhailshilkov left a comment

Choose a reason for hiding this comment

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

LGTM, the change towards table-driven tests looks great. I don't know much about the details of other changes, but no concern from me.

@zbuchheit zbuchheit merged commit 3b6fd94 into main Sep 19, 2024
23 checks passed
@zbuchheit zbuchheit deleted the zbuchheit/integration-tests-14119080 branch September 19, 2024 15:42
@pulumi-bot
Copy link
Contributor

This PR has been shipped in release v0.0.24.

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.

3 participants