tparse icon indicating copy to clipboard operation
tparse copied to clipboard

Packages with no tests are included in Package summary in go1.22,1.23

Open mfridman opened this issue 1 year ago • 0 comments

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

mfridman avatar Sep 05 '24 01:09 mfridman