area/testinghelp wanted
Repository-Metriken
- Stars
- (9.013 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 9T 3h) (137 gemergte PRs in 30 T)
Beschreibung
/area testing
AFAIK the integration tests work by checking if TaskRuns/PipelineRuns have reached a desired state, based on which the tests are marked as success or failure.
To test scripts in /tekton/debug/scripts dir in the TaskRun Pod, first we would need the TaskRun Pod running with the breakpoint(s) in place. Then, we need to run exec commands allowing us to run scripts in the container(s) with breakpoint. Thus helping us assess the state/logs of the TaskRun after, based on the commands we have run.
How can this be achieved ? What are the possible problems we could face while writing these tests ?