linksplatform / Ranges

LinksPlatform's Platform.Ranges Class Library
https://linksplatform.github.io/Ranges
The Unlicense
4 stars 1 forks source link

Enable test's code coverage monitoring #36

Open Konard opened 4 years ago

Konard commented 4 years ago

700 RUB reward can be claimed by anyone who completes this task.

Codacy

https://app.codacy.com/manual/drakonard/Ranges/settings/coverage https://github.com/marketplace/actions/codacy-coverage-reporter https://github.com/codacy/codacy-coverage-reporter/blob/master/docs/index.md

Coveralls

https://coveralls.io/github/linksplatform/Ranges https://github.com/marketplace/actions/coveralls-github-action

Tools

https://github.com/OpenCover/opencover https://www.jetbrains.com/dotcover/

Konard commented 3 years ago

We will be using OpenCover instead of dotcover, because we currently don't own the dotcover's licence.

Krol-X commented 3 years ago

GitHub Actions -> OpenCover -> Codacy

TODO:

  1. Clone this repository
  2. Install OpenCover
  3. Learn how to generate OpenCover report in xml ( https://habr.com/ru/post/163895/ )
  4. Make bat-file that will generate report using OpenCover
  5. Commit xml-report to this repository
  6. Configure GitHub Actions to send code coverage reports to Codacy ( https://github.com/marketplace/actions/codacy-coverage-reporter )
Konard commented 3 years ago

Maybe we can use coverlet.collector that is already connected to all of our repositories.

uselessgoddess commented 3 years ago

Lol, C++ has builtin coverage tool

Konard commented 3 years ago

We can also try dotCover

uselessgoddess commented 3 years ago

Lol, proprietary soft