TeamNewPipe / NewPipe

A libre lightweight streaming front-end for Android.
https://newpipe.net
GNU General Public License v3.0
31.53k stars 3.06k forks source link

[SonarQube] Integrate JUnit report #5824

Open XiangRongLin opened 3 years ago

XiangRongLin commented 3 years ago

The test report generated by JUnit can be integrated into SonarQube in order to get a code coverage statistic.

Add path of report to setting. https://sonarcloud.io/project/settings?category=java&id=TeamNewPipe_NewPipe

XiangRongLin commented 3 years ago

Done by adding app\build\test-results\testDebugUnitTest\ and app\build\test-results\testReleaseUnitTest\ to sonar.junit.reportPaths which i assume is from junit

XiangRongLin commented 3 years ago

Code coverage is not recognized