We need to do quite a lot of mocking around Sigstore, but we are able to test all logic in our library. What is left to do for testing is e2e integration tests (https://github.com/sigstore/model-transparency/issues/5) and testing with signing on one OS and verifying on another (https://github.com/sigstore/model-transparency/issues/25). Both of these are integration style tests and we will only be able to run them in GHA. I'll send a PR for those soon.
While testing, I discovered some minor bugs with error reporting and one moderate bug. Fixed in this PR.
We now have achieved 100% test coverage! 🎉
Name Stmts Miss Cover Missing
-------------------------------------
TOTAL 835 0 100%
Well, almost. There are 2 files that are not imported by tests at all, so they don't get included in the report:
Summary
We need to do quite a lot of mocking around Sigstore, but we are able to test all logic in our library. What is left to do for testing is e2e integration tests (https://github.com/sigstore/model-transparency/issues/5) and testing with signing on one OS and verifying on another (https://github.com/sigstore/model-transparency/issues/25). Both of these are integration style tests and we will only be able to run them in GHA. I'll send a PR for those soon.
While testing, I discovered some minor bugs with error reporting and one moderate bug. Fixed in this PR.
We now have achieved 100% test coverage! 🎉
Well, almost. There are 2 files that are not imported by tests at all, so they don't get included in the report:
This depends on https://github.com/sigstore/model-transparency/pull/287 which configures the coverage reporting.
Release Note
NONE
Documentation
NONE