-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Testing tools for Tekton Pipelines #1289
Comments
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
This is a roadmap item: https://github.com/tektoncd/pipeline/blob/master/roadmap.md /lifecycle frozen |
Quick passing thought - now that we have both params and results (and also workspaces), we could provide tools / libs to write "tests" that exercise Tasks and Pipelines with certain inputs and check for expected outputs and workspace contents. Maybe not as much of "unit test" as we'd like but probably a useful test for many cases 🤔 (Also wondering if there might be some overlap with the catalog tiers work @jerop ) |
It would be great to have some mechanism for testing tasks and pipelines. I think there are two scenarios worth considering:
|
For (2), something like |
This would be really helpful when maintaining a catalog with a lot of Tasks and Pipelines.
|
I'm not exactly sure what this looks like but I wanted to start tracking this here if ppl have ideas.
Basically I think that we should have a great testing story around Tekton Pipelines, e.g.:
For inspiration, I really like the way that OPA polices can have tests written for them: https://www.openpolicyagent.org/docs/latest/how-do-i-test-policies/ Unfortunately Tekton Pipelines is totally different b/c it isn't a language (or is it????) and it's mostly side effect driven (the whole point is to execute stuff that causes changes in the state of the world) but I feel confident that if we really spend some time thinking about this we can make something cool!
The text was updated successfully, but these errors were encountered: