scalaazure-devopsazure-pipelinesscoverage

VSTS code coverage for Scala


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.


Solution

  • 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.