Coverage in autoscan ETA?

autoscan

(Petter) #1

Do you guys have a eta for coverage support for autotest?

Language: Javascript

Thanks in advance.


(Fabrice Bellingard) #2

Hi Petter,

we want to work on it this year, but we have no ETA yet.

The idea would be to allow somehow coverage information to “complete” (asynchronously) an autoscan-based analysis - because we don’t want to start running tests on our side (we’ve already followed that path in the past and it’s just impossible to do something good).

Out of curiosity, are you already relying on some cloud service for the coverage? (like https://coveralls.io for instance)


(Petter) #3

Thanks for the answer.

We used SonarQube before. We have Instabul with mocha to generate the .lcov files.
We dont want to have the coverage files in the source, but if they was, would it be possible for autoscan to pick them up like with the travis plugin for example (sonar.javascript.lcov.reportPaths="coverage\report\lcov.info)
Thanks for the coveralls.io tip. We can use that for now


(Fabrice Bellingard) #4

That would probably work. But to be honest, IMO this is not a good idea to put report files in the source code and I would not recommend doing this.