Hi Team,
could you please let me know what is the use of healthyTarget, unhealthyTarget and failingTarget in clover report. How does this impact graphical presentation of code coverage ?
Hi Gaurav,
I'm not an expert on this, but it appears these define the thresholds for what you'd deem healthy, unhealthy and failing from a coverage point of view. For example you might say a 50% method coverage is failing, 70% is unhealthy, and 80% is healthy.
Some more clues can be found here: https://stackoverflow.com/questions/37454187/how-to-specify-clover-coveragetarget-metrics-in-jenkins-pipeline
yes that is true but I was wondering how these thresholds are impacting clover report as I don't see like healthy or unhealthy notification in my test coverage report. So what is the significance then ? I mean if I put 60% instead of 70% for healthy threshold, how my report is going to be impacted ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's a good question, and one where I'd definitely be guessing. Perhaps it sends back an overall flag of the health of the coverage in the report corresponding with the targets, or sets an exit code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Recommended Learning For You
Level up your skills with Atlassian learning
Atlassian DevOps essentials
Learn how to build, automate, and improve DevOps processes used for the development and delivery of software and other digital products.
Tracking and improving DevOps metrics
Make informed decisions about current and future projects and deadlines to maximize your team's productivity and keep morale high.
Exploring Atlassian Cloud products for agile and DevOps
Coordinate a suite of Atlassian Cloud products for greater collaboration and trust, higher-quality solutions, faster releases, and more.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.