#695·goconvey

Discrepencies in Coverage output

Author: chrispotterCreated Dec 2, 2024Updated Dec 2, 2024

When I run my code under goconvey, the website shows a different percentage than when I run go test -cover

Website (shows /internal/service at 79%) image

Terminal running go test -coverprofile=coverage.out ./... image

I'm missing something and I'm hoping someone can help me figure it out. It would be nice to have the goconvey results shown in our CIDI instead of the terminal results like they are now.