question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JS & CSS not allowed in code coverage reports

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
PBoraMSFTcommented, Oct 17, 2018

@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.

0reactions
Thilascommented, Oct 20, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found