I’m very new to SonarQube and I’ve no experience working on SonarQube application.
In our organization, we are using SonarQube for code quality checks and etc.
I have one project which is already configured with our organization’s SonarQube and I’ve given one task to unit test my application. I’ve unit tested my application and generated the coverage report using an npm package called
My project is built using React and Django and the project’s structure kinda looks like this.
DjangoApp1/ DjangoApp2/ DjangoProject/ ReactDirectory/ - build/ - coverage/ - node_modules/ - src/ - package.json - package.lock.json - sonarTestResults/ - sonarqube-codecoverage-report.xml
So now how can I tell SonarQube to pick the
sonarqube-codecoverage-report.xml coverage report which is in ReactDirectory/sonarTestResults/sonarqube-codecoverage-report.xml and show the appropriate metrics result for code coverage for the project in the SonarQube dashboard?
Please, someone, advise/help me with this.
Thank you in advance