VSTS code coverage for Scala

496 Views Asked by At

My team is using Microsoft VSTS as SLM tool. We are using Scala for our backend services and code coverage tool is scoverage. Is there a way I can see code coverage for scala services in VSTS? As of now I see only Cobertura and Jacoco supported for CC in VSTS.

1

There are 1 best solutions below

0
On BEST ANSWER

For VSTS build, the code coverage only support Cobertura and JaCoCo formats.

Mode details, you can refer the task Publish Code Coverage Results.

So you need to convert the fomat to Cobertura or JaCoCo. Such as use the plugin sbt-jacoco.