Test coverage highlighting
I would like to know if is there any way I can activate a line highlighting on covered lines by unit tests. I found few ways to do it in VSCode using “Go: Toggle Test Coverage in Current Package” option. Do Goland supports something like this?
请先登录再写评论。
It's not quite the same as in VSCode, but GoLand does support line highlighting for test coverage. You just need to run your tests with coverage enabled. Here's a quick guide on how to do it: https://www.jetbrains.com/help/go/running-test-with-coverage.html
Exactly what I needed, thanks Svetlana!