0

In goconvey, there's a feature that shows package coverage, and when you click on the package under analysis, the go coverage tool pops up, showing the source code, colored by what has and hasn't been covered.

For example: enter image description here

enter image description here

However, there are many packages in my SUT that, when clicked on, don't show any test coverage, and even 404. For example, clicking on package db from that list:

enter image description here

Another example: enter image description here

What is causing this and how do I remedy it?

Mike Warren
  • 3,796
  • 5
  • 47
  • 99

1 Answers1

2

Not sure if it applies to this case but for me in Mac I had to run the goconvey tool in sudo mode (i.e Admin in Windows). Otherwise the intermediate files/dirs creation failed with the tool/webserver reporting 'no coverage'.

Since you are receiving 404, did you validate if the coverage report dir/files were created?

G-9
  • 35
  • 3