@dedrick
To add multiple test reports to SonarQube, you can follow these steps:
- Generate test reports for your projects using your preferred testing framework (for example, JUnit, NUnit, TestNG, etc.).
- Use the SonarQube Scanner or the SonarQube Plugin for your build automation tool (such as Maven, Gradle, Jenkins, etc.) to analyze your project and send the test reports to SonarQube. Make sure to configure the plugin or scanner to include the path to your test reports.
- If you have multiple test reports from different modules or separate tests, you can specify multiple paths to the test reports in the plugin or scanner configuration. This will allow SonarQube to aggregate and display the test results from all the reports.
- Run the build automation tool to trigger the analysis and upload the test reports to SonarQube.
- Once the analysis is complete, you can view the test reports in the SonarQube dashboard under the "Tests" section. You can see the overall test coverage, number of tests passed, failed, skipped, etc., for each project.
By following these steps, you can easily add and view multiple test reports in SonarQube for your projects.