bazel-sonarqube
bazel-sonarqube copied to clipboard
Add support for js, ts and php test and coverage files
Extends the library to support a few of the properties one might want for TypeScript, JavaScript and PHP projects. Also adds support for generic test execution reports.
Let me know if there's a more "bazel-y" way to do this. In my case, my test runs and coverage reports are currently happening outside of bazel.
Thanks for the change!
I like the sound of this - I've got a project which will soon need to get JS/TS tests and coverage tracked in SQ. I don't have any strong opposition to being able to import external reports. Your change should work with the new attrs in the same way as the coverage.dat pattern: do "stuff", and then use a filegroup to reference the generated files.
Could you perhaps add a usage example of these attributes to the README?
As a side note, I'm curious whether you've got the bazel-SQ environment to detect and use for analysis the TypeScript toolchain from rules_nodejs. I've not had a chance to investigate that myself.
Any update on this ?
I am also interested in this. @Zetten is this going to be merged? I can make some changes if needed and if @KyleW is not available.
@Mivr Unfortunately I've not had a chance to verify myself, but if this is working for you I'll be happy to merge it if you bring it up to date with the main branch and update the README.