tparse
tparse copied to clipboard
Packages with no tests are included in Package summary in go1.22,1.23
For example:
go test -race -count=1 ./internal/... -json -cover | go run main.go -trimpath=auto
┌────────────────────────────────────────────────────────────┐
│ STATUS │ ELAPSED │ PACKAGE │ COVER │ PASS │ FAIL │ SKIP │
│─────────┼─────────┼─────────┼────────┼──────┼──────┼───────│
│ PASS │ 0.00s │ /app │ 0.0% │ 0 │ 0 │ 0 │
│ PASS │ 0.01s │ /check │ 0.0% │ 0 │ 0 │ 0 │
│ PASS │ 1.36s │ /utils │ 100.0% │ 8 │ 0 │ 0 │
└────────────────────────────────────────────────────────────┘
I'd expect /app and /check to be omitted by default unless -notests flag is supplied. This might be related to #106