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

🧪 Add basic e2e tests #22

Merged
merged 11 commits into from
May 27, 2024
Merged

🧪 Add basic e2e tests #22

merged 11 commits into from
May 27, 2024

Conversation

timebertt
Copy link
Owner

This PR adds basic e2e tests for the kubectl history plugin. They mainly ensure that the plugin's core functionality doesn't break with dependency updates and other contributions.
The e2e-kind job is marked as required.

The e2e test suite uses gomega's gexec and runs kubectl with the plugin against a kind cluster.
Kind is used instead of envtest because envtest does not run kube-controller-manager and would require faking the deployment controller and friends.

@timebertt timebertt added the enhancement New feature or request label May 27, 2024
@timebertt timebertt merged commit 2854afc into main May 27, 2024
3 checks passed
@timebertt timebertt deleted the e2e-tests branch May 27, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant