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

Add automated testing for each command #4

Open
lkatalin opened this issue Apr 4, 2024 · 1 comment
Open

Add automated testing for each command #4

lkatalin opened this issue Apr 4, 2024 · 1 comment

Comments

@lkatalin
Copy link

lkatalin commented Apr 4, 2024

Use functionality matrix #2

The test should check that 1) the command does not fail, and 2) the result is properly formatted according to https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_trustroot.proto

@kommendorkapten
Copy link
Owner

This is the most important one to start with IMHO. As there is lot of repetitive code in the /cmd/app directory. Break that out into pkg and then add test for that.

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

2 participants