I am looking for a solution. I need help in below Use Case. Ours is a JavaScript Project.
- After unit tests execution, we push coverage numbers to sonar. We can see coverage numbers in sonar under Coverage section. We used this property sonar.javascript.lcov.reportPath in sonar.properties file for pushing coverage to sonar.
- After functional tests execution, we push coverage numbers to sonar. We can see coverage numbers in sonar under IT Coverage section. We used this property sonar.javascript.lcov.itReportPath in sonar.properties file for pushing coverage to sonar. It is overwriting the existing coverage numbers of unit tests in sonar. Now I can see only Integration tests coverage numbers.
Note: If I use sonar.javascript.lcov.reportPath & sonar.javascript.lcov.itReportPath in same sonar.properties file. I can see both numbers in sonar.
If I push numbers for unit tests separately & for integration tests separately, then I cant see both unit & IT numbers in sonar.
Is there any way that not to update already existing unit test numbers in sonar, when we push only integration test report. (or) vice versa??
Thanks,
Kishore