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

feature: add tests #4

Open
reginapizza opened this issue Jan 20, 2023 · 0 comments
Open

feature: add tests #4

reginapizza opened this issue Jan 20, 2023 · 0 comments

Comments

@reginapizza
Copy link
Contributor

reginapizza commented Jan 20, 2023

Is your feature request related to a problem? Please describe.
There is currently no unit tests or e2e tests, it would be great to add some so that we can run it as part of a CI.

Describe the solution you'd like
Add test suite to the must-gather component. At minimum it should check that the script runs (and writes to error file for cases when it shouldn't run, such as when cluster isn't an openshift cluster and/or when kubectl or oc aren't installed) and writes output information to files.

Corresponds to GITOPS-2579

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

No branches or pull requests

1 participant