Need help on error ---expected “testExecutions” but got “testsuite” at line 2----I am trying to show unit test count on sonar dashboard for scala and angular,node(mocha and jasmine framework used-istambul reporter is used))

@ganncamp
Above problem is resolved for node

I am facing similar problem for scala using SBT.

I am generating unit test reports for scala -sbt project and trying to show unit test count on sonar dashboard…
Sonarqube version - 8.7 , scala version - 2.12 , SBT version - 1.4.9, sonarqube is having plugin “Scala Code Quality and Security 1.8.2.1946” (sonarscala) installed.

Those reports are in below format-

<?xml version='1.0' encoding='UTF-8'?>
<testsuite hostname="carestation_insights" name="com.ge.hc.csi.preprocessor.PreProcessorConfigTest" tests="5" errors="0" failures="0" 

As per sonarqube official documentation: Sonar supports below format-
testexecutions with filepath and testcases


Property sonar.junit.reportPaths is not supported by current sonar version
property I used for reportpath is - sonar.testExecutionReportPaths
So,I am getting below error -

ERROR: Caused by: Unknown XML node, expected "testExecutions" but got "testsuite" 

I am not getting any plugin for scala sbt which can give me report in above format.
Can anybody help to get report in above format or make sonar sense report in currently generated format