JS & CSS not allowed in code coverage reports
See original GitHub issueI know this has been this way for security reasons (as mentioned in #3027) but this is really annoying and forces every one to use workarounds like scripts to inline css or HtmlInline
type of ReportGenerator tool.
And even with those, not being able to have js really make those huge coverage reports very disappointing: massive extra weight, no dynamic filtering, no coverage history charts, …
Have you actual plans to work on this? Or may be to generate such rich reports right from VSTS out of a coverage file?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Code coverage report seems "broken"/missing CSS
I'm using pytest-cov (Python) to generate a coverage report and publish it to my pipeline run. However, when I look at the coverage...
Read more >Coverage: Find unused JavaScript and CSS
The Coverage tab in Chrome DevTools can help you find unused JavaScript and CSS code. Removing unused code can speed up your page...
Read more >JS Code coverage - javascript - Stack Overflow
I am a newbie for the testing scenario. I have one question wanna ask your help. For example, if I have one web...
Read more >Find unused JavaScript and CSS code with the Coverage tool
Start typing coverage , select the Show Coverage command, and then press Enter . The Coverage tool opens in the Drawer. The Coverage...
Read more >Code Coverage - Cypress Documentation
Let's look at the one file that has a "missed" line. It is the src/selectors/index.js file shown below. ... The source line not...
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
@Thilas - improving the coverage reporting is on the backlog, but will take some time. I saw on the danielpalme/ReportGenerator#164 that using PNG, this issue no longer happens. I assume that unblocks you for now.
It does indeed. But it would be really cool to have actual SVG with dynamic chart instead of such PNG. And even more usefull, the capability to search in the results or group by that require JS to be supported.
Anyway, thanks for your feedback and I’ll wait for those enhancements on coverage reporting.