How do I get code coverage information when running tests in Go

Answered

The Run Configufations for Go tests don't have any option to enable code coverage.  How do I get code coverage from Go tests in Intellij?

0
3 comments

Hello,

It should be available.

Could you please share a screenshot of your IDE instance?

0

When I click open a test file the Run With Coverage on the main menu is disabled.  It does show up if I click on the green arrow in the margins as you show.  I hadn't seen that before.

Why is the Run With Coverage menu item in the Run menu disabled?

0

Hi Dean Schulze, could you please share a screenshot?

0

Please sign in to leave a comment.