Skip to main content

Get the Reddit app

Scan this QR code to download the app now
Or check it out in the app stores
Agile-Hand4105 u/Agile-Hand4105 avatar

Agile-Hand4105

u/Agile-Hand4105

New
Open sort options
Change post view

r/golang icon
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online
r/golang
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online

GoLang code coverage

It's not about converting. How do we calculate code coverage without unit test cases.


GoLang code coverage
r/golang icon
r/golang
A banner for the subreddit

Ask questions and post articles about the Go programming language and related tools, events etc.


Members Online
GoLang code coverage

One of our micro service is written in goLang. I want to calculate code coverage of it.

One way i found through via unit test cases. But i want code coverage like we have for java based services. One of our micro service is written in goLang. I want to calculate code coverage of it.

One way i found through via unit test cases. But i want code coverage like we have for java based services (Jacoco). In integration environment.

We have regression test suite of that service.

So, if we have some plugin or some library that can be used to calculate.

Please suggest how can I archive it.

Thanks.



Agile-Hand4105 u/Agile-Hand4105 avatar