I am trying to import Unit Test results into Sonarqube for AngularJS code using Jasmine framework and Karma.
I have tried with multiple reporter like karma-junit-reporter, karma-sonarqube-unit-reporter and able to produce the results.
However, i am not able to import the unit test results into Sonarqube using "sonar-scanner". Other reports like Bug, Code Smell, Coverage are being showed in the dashboard but Unit Test reports aren't.
Can someone guide me on how to import and display Unit Test results in Sonarqube.
Sonarqube 6.5
SonarQube Scanner 3.0.3.778
Java 1.8.0_121 Oracle Corporation (64-bit)
Windows 7 6.1 amd64
Sonar-Scanner properties
sonar.projectKey=unit_test
sonar.projectName=js
sonar.projectVersion=1.0
sonar.sources=public/js
sonar.javascript.lcov.reportPaths=reports/coverage/lcov.info
sonar.javascript.karmajstestdriver.reportsPath=reports/junit/