typescript-coverage-report icon indicating copy to clipboard operation
typescript-coverage-report copied to clipboard

Suggestion: Add option to choose report in standard format

Open ali4heydari opened this issue 5 years ago • 6 comments

Is your feature request related to a problem? Please describe. Most of CI runners support coverage reports in specific format. In that format they support they can parse and show report without downloading report files. Describe the solution you'd like Add an option to choose report format. for example Cobertura that most of CI runners supports. Additional context for example I'm using jest and with PublishCodeCoverage task in azure pipeline and specifying file path with Cobertura format can see result in browser without downloading html files:

2020-03-30_10-12-30 Thanks!

ali4heydari avatar Mar 30 '20 05:03 ali4heydari

Possible options would be JSON, lcov and cobertura for now. Could add a reporters option like Istanbul has.

alexcanessa avatar May 04 '20 22:05 alexcanessa

https://github.com/alexcanessa/typescript-coverage-report/commit/6bb454deeb7a3bb56a3a551d557ae112ffa8a4f1 does some work towards this feature.

alexcanessa avatar May 04 '20 22:05 alexcanessa

Any plan to work on this? I'm looking for LCOV support specifically.

tmrswil avatar Dec 06 '23 17:12 tmrswil

Hello, is this still WIP, is it possible to have lcov output or know how to have coverage report inside a tool like sonnarcube?

MatthD avatar Feb 27 '24 11:02 MatthD

Hello everyone, this is WIP as I haven't had time to spend on the tool recently. I will try and give it some love soon and keep you posted.

However, if anyone feels like contributing, it would be well appreciated!

alexcanessa avatar Mar 07 '24 09:03 alexcanessa