F-10: Ginkgo + 100% coverage gate (bookshelf-qqz.10) #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "bd-bookshelf-qqz.10"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
make testtoginkgo --race --keep-going -r ./internal/....scripts/check-coverage.shand amake coveragetarget enforcing a 100% statement-coverage gate oninternal/. Exclusions documented at the top of the script:internal/db/sqlc/**(sqlc-generated),*_mock.go(generated mocks), anddoc.go(no executable code).internal/versionpackage with one ginkgo spec to prove the gate detects coverage correctly end-to-end. The gate was also manually verified by inserting an untested helper (made it fail with file/line output) and then removing it.Test plan
go vet ./...passesmake testruns all ginkgo suites underinternal/...with race detectormake coveragepasses (100.0% >= 100.00%) on the current repoCloses bead bookshelf-qqz.10 on merge.
0e93e33647tocb61c11cb8