gocov | Coverage testing tool for The Go Programming Language | Testing library
kandi X-RAY | gocov Summary
kandi X-RAY | gocov Summary
Coverage reporting tool for The Go Programming Language.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gocov
gocov Key Features
gocov Examples and Code Snippets
Community Discussions
Trending Discussions on gocov
QUESTION
It is not clear for me how code coverage works in Azure DevOps for my Golang project. My expertation is to see something like this:
Missing Code CoverageI'm confused, because I see this hint "Setup code coverage":
But in the tab "Code Coverage" is a generated html report:
Warning in Task "Publish code coverage results"I got this warning in the task "Publish code coverage results"
##[warning]Ignoring coverage report directory with Html content as we are auto-generating Html content
But when I disable the html generation with disable.coverage.autogenerate: 'false'
no report is display under the tab "Code Coverage", only the message "Code coverage report cannot be rendered as report HTML was not found. Please verify that "Report Directory" containing an HTML report was specified when publishing code coverage."
This is my pipeline:
...ANSWER
Answered 2020-Jun-04 at 06:53The code coverage report you expect to see on the build summary is the old build pipeline UI page.
Now Azure devops services has implemented the new multi-stage pipelines UI page. Code coverage report is moved to the Code Coverage tab as what you see now.
The build Summary page you expect to see in above screenshot is no longer available, for the this feature toggle which allows to switch back to the old build pipeline UI page has been removed. See here.
However, you can still see the old pipeline UI page in Azure DevOps Server 2019/TFS 2018 /TFS 2017.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gocov
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page