Skip to content

Conversation

@bero
Copy link

@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

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 ;-)

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