pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/DelphiCodeCoverage/DelphiCodeCoverage/pull/48

ets/actions-9111c292f95f2fb0.css" /> A powershell script to convert html report to codecov.io JSON format by bero · Pull Request #48 · DelphiCodeCoverage/DelphiCodeCoverage · GitHub
Skip to content

A powershell script to convert html report to codecov.io JSON format#48

Open
bero wants to merge 1 commit into
DelphiCodeCoverage:masterfrom
bero:master
Open

A powershell script to convert html report to codecov.io JSON format#48
bero wants to merge 1 commit into
DelphiCodeCoverage:masterfrom
bero:master

Conversation

@bero
Copy link
Copy Markdown

@bero bero commented Jan 9, 2026

Check https://about.codecov.io

It is a very nice page to show code coverage progress from unittests in browser.
This is a free service for opensource projects.
As usual Delphi is not directly supported.
But as it accept JSON it is possible to make a script.

To upload the JSON-file codecov.exe needs to be downloaded

@MHumm
Copy link
Copy Markdown

MHumm commented Jan 10, 2026

Thanks for this suggestion, I'm just not 100% sure yet what this is worth.
Why?

  1. Code Coverage Wizard allows to generate HTML reports as well and you can view them locally
  2. The Delpi IDE contains some AI function (haven't tested that one yet) to generate unit tests as well.

=> what would that platform support bring us, whgich is not already there and what would I need to do to provide this support? I guess it would be more than just adding the power shell script to the project.

  1. The code coverage tool can already output in other formats than HTML and I'm not convinced why
    I should use a script to generate that JSON format which seems to be required for adding support
    for that platform. That could be done in Delphi code as well I guess and by this saving quite a few
    CPU cycles. And: generating this JSON format should be a thing the authors of the code coverage
    command line tool the wizard uses internally (see https://github.com/MHumm/delphi-code-coverage-wizard-plus)
    should implement. That would be the most efficient way I guess. Remember: we have a CPU efficient
    tool at our hands and should primarily use that one where possible. It's called Delphi ;-)

@bero
Copy link
Copy Markdown
Author

bero commented Feb 8, 2026

The usage is that in codecov you can show the history in a nice diagram.
But if you think this don't fit in you repo it is OK for me. I can make a new repository and refer to DelphiCodeCoverage 🙂

@MHumm
Copy link
Copy Markdown

MHumm commented Feb 8, 2026

Ok, I understand the purpose now. I'm just not the developer of the command line code coverage tool. So it's theirs to decide whether your suggested add-on makes sense for their tool. If it does I'd look for adding some option to make it useable from Delphi Code Coverage Wizard Plus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy