How to Include HTML test reports for SonarQube code coverage

Hi Team, We are using Sonarqube sonar-scanner- version.
Our test reports are saved in HTML , but Sonarqube is expecting the XML format.
How can we convert our test reports in HTML format to XML format.

Hey there.

Exporting your reports to a different format is probably a question best for the maintainers of the tool you’re using to run tests / report test execution. What tool are you using?

In our case Cypress generates the test cases


Looking at cypress-io/code-coverage, it should be possible for you to get an LCOV report that can be passed to sonar.javascript.lcov.reportPaths (see the documentation on Javascript/Typescript test coverage). It might already be produced alongside the HTML report.