Hi,
I'm writing a plugin for a language and I'm already computing test coverage for files.
When I'm looking into SonarQube after I ran the analasys, I can see a green bar on the side for covered lines and when I click on that I see:
Covered by the following tests
There is no extra information about test files.
I'm computing the coverage and save it via:
context
.newCoverage()
.onFile(inputFile)
.lineHits(line, coverage)
.save();
I do have enough information to be able to add the tests covering the line, but I'm not sure how to do so.
Is there no API for that yet or am I missing something?
Thanks in advance :-)