Repository navigation
Poposal: Hook to run acceptance tests - #6256
Conversation
To run the acceptance tests, one can now do: make test-acceptance Signed-off-by: Marc Khouzam <[email protected]>
To run the completion tests, one can now do: make test-completion Signed-off-by: Marc Khouzam <[email protected]>
|
Heads up to @jdolitsky who maintains the |
Signed-off-by: Marc Khouzam <[email protected]>
jdolitsky
left a comment
There was a problem hiding this comment.
This lgtm!
Do you think we can rename test-completion to test-acceptance-completion? We can then follow this pattern and add things like test-acceptance-kubernetes-versions
Signed-off-by: Marc Khouzam <[email protected]>
Done. While we're talking about naming, technically, this target should be |
jdolitsky
left a comment
There was a problem hiding this comment.
i think this works for now
hickeyma
left a comment
There was a problem hiding this comment.
The targets look good and I can run them. LGTM, thanks @marckhouzam.
FYI @marckhouzam I am getting some fails when running the tests. Might be my env. Here is the output: https://gist.github.com/hickeyma/8beaa068402c474f176e41087d6c2b24
|
Thanks @hickeyma! |
What this PR does / why we need it:
To run acceptance tests during development, it would be easier to run
directly from the Helm repo, instead of having to do:
Granted that running all the acceptance tests during development may not be a very common case, but it opens the door to easily running a subset of these tests such as the tests for completion, as also included in this PR:
instead of:
Beyond convenience, this would also help guide people to finding and using the
acceptance-testingrepo without having to learn much about it: it should just work.Special notes for your reviewer:
I've used the make targets
test-acceptanceandtest-completionto keep in line with the other make targets for tests, which are all prefixed withtest-.