Generate and HTML reports with the coverage report generated/calculated
See original GitHub issueAs a customer of this Github Action, I would love to be able to generate a visual/HTML report with the coverage of my project, so I can easily inspect what’s the status of my testing strategy.
As an example, we can see how genhtml
from lcov
works:
genhtml ./coverage/lcov.info -o coverage
Thank you! 💙
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Add functionality to a command line tool · Issue #20 - GitHub
While he could generate a lcov.info file with flutter test --coverage ... Generate and HTML reports with the coverage report generated/calculated #19.
Read more >Code Coverage HTML Reports - Micro Focus
Right-click the filename .tcz in your project and click Generate Coverage Report. · If prompted, specify any options for generating the report and...
Read more >Generating and working with code coverage reports - IBM
You can generate code coverage reports from cached launches of a Java or plug-in project. ... The report file will be called index.html....
Read more >How To Generate PHPUnit Coverage Report In HTML and ...
A detailed guide by LambdaTest on how to generate a PHPUnit coverage report in HTML using Xdebug, PCOV, and php-code-coverage in HTML and ......
Read more >Publishing HTML Reports in Pipeline - Jenkins
Simple Build. I'm going to use the HTML Publisher Plugin to add the HTML-formatted code coverage report to my builds. Here's a simple...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Could a strategy to tackle this problem be?:
lcov-parse
, as input for the template.html
filesI think this might be an easy and simple way to generate the files we need without involving some big overhead from a framework.
EDIT: This commit shows a proof of concept that might be easier than explaining it, and here’s a screenshot of the results:
I’d like to recommend coverde, a CLI written in Dart that allows you to manipulate coverage and is actually much easier to use than
lcov
. It would be great to be able to integrate the use of this. It would only be necessary to install it withdart pub global activate coverde
and use thecoverde report -l
command to generate thehtml
.