Hello,
I’m exploring ways to generate a coverage report for JavaScript without instrumenting my code using Istanbul (nyc). Ideally, I’d like to leverage the built-in code coverage feature in Chromium DevTools.
My main question is:
Does SonarQube support the coverage report format exported from Chrome DevTools for JavaScript code coverage?
Has anyone successfully enabled code coverage via Chromium DevTools and fed that report into SonarQube? Any best practices or conversion tools/processes to accomplish this would be greatly appreciated.
For reference, I’ve attached an example of the coverage report exported from Chrome DevTools.
Thank you for your help!
js-coverage.json (723.1 KB)