Closed vladklokun closed 1 year ago
@dwertent
You mean unit tests? There are unit tests, they are quite clever, and are run twice: on the whole schema and on a specific API group.
Type definitions are registered to the API Schema, and the API Schema is tested with fuzzy round trip tests in pkg/apis/softwarecomposition/install/roundtrip_test.go
What this PR changes?
This PR defines types and adds the backing storage for the Filtered SPDX SBOMs custom resource.
Notes for the Reviewer
Note that
zz_generated.*.go
andpkg/generated
are autogenerated files, so the pull request’s size is manageable.