pipelines-as-code icon indicating copy to clipboard operation
pipelines-as-code copied to clipboard

Add shell based tests for pac cli

Open chmouel opened this issue 2 years ago • 0 comments

we can do a simple shell based test scenario like we have on tektoncd/cli https://github.com/tektoncd/cli/blob/main/test/e2e-tests.sh#L41 should be easy to setup and it would detect a bunch of error.

perhaps we can do as go directly too ? there is probably some framework for it (there is in rust afaik so should be one in go :D )

Originally posted by @chmouel in https://github.com/openshift-pipelines/pipelines-as-code/issues/711#issuecomment-1145588184

chmouel avatar Jun 03 '22 05:06 chmouel