Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add coverage analysis for tests of the python package #221

Open
reyammer opened this issue Feb 22, 2024 · 3 comments · May be fixed by #837
Open

add coverage analysis for tests of the python package #221

reyammer opened this issue Feb 22, 2024 · 3 comments · May be fixed by #837
Labels
help wanted Extra attention is needed python Pull requests that update Python package

Comments

@reyammer
Copy link
Collaborator

No description provided.

@reyammer reyammer added help wanted Extra attention is needed python-package labels Feb 22, 2024
This was referenced Mar 22, 2024
@reyammer reyammer added python Pull requests that update Python package and removed python-package labels Jul 18, 2024
@ps2181
Copy link
Contributor

ps2181 commented Oct 26, 2024

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?

@reyammer
Copy link
Collaborator Author

reyammer commented Nov 4, 2024

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!

@ps2181
Copy link
Contributor

ps2181 commented Nov 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed python Pull requests that update Python package
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants