magika icon indicating copy to clipboard operation
magika copied to clipboard

add coverage analysis for tests of the python package

Open reyammer opened this issue 2 years ago • 3 comments

reyammer avatar Feb 22 '24 13:02 reyammer

I have created a .ini for running the coverage analysis and have gotten the report as a html file and its generated locally. Could you please suggest me what to do next?

ps2181 avatar Oct 26 '24 17:10 ps2181

Hello, can you create a new PR (referencing this issue) and we take it from there? The overall idea is to start monitoring the code coverage of our tests, add it to one of the existing workflows, and, later on, display some coverage badge in our README. I'm not sure about the details, but there seems to be many posts describing the process (e.g., https://nedbatchelder.com/blog/202209/making_a_coverage_badge.html). Thanks!

reyammer avatar Nov 04 '24 09:11 reyammer

Hello, I have created a pull request addressing the code coverage monitoring for our tests as referenced in Issue #221.

In the PR, I have implemented the necessary changes to start monitoring code coverage . Please let me know if this aligns with your expectations or if there are any additional changes or details needed. Thank you.

below are the screenshots of the code coverages

  1. using pytest Image

  2. using tox Image

ps2181 avatar Nov 05 '24 16:11 ps2181