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

Figure out how to measure Python test coverage #80

Open
edwardhartnett opened this issue Nov 17, 2020 · 4 comments
Open

Figure out how to measure Python test coverage #80

edwardhartnett opened this issue Nov 17, 2020 · 4 comments
Assignees

Comments

@edwardhartnett
Copy link
Contributor

Well I used to know how to do this, so I've got to figure it out again. ;-)

@edwardhartnett edwardhartnett self-assigned this Nov 17, 2020
@aerorahul
Copy link
Contributor

@edwardhartnett
I have some experience with pytest and coverage in python.
I can write a couple of examples and share, but I am not sure I can take this ON.

@jbathegit
Copy link
Collaborator

We should also figure out a way to measure C test coverage. The gcovr utility doesn't currently measure the C portion of the library either; rather, it only does the Fortran portion.

@jbathegit jbathegit changed the title Figure out how to measure Python test coverage Figure out how to measure Python and C test coverage Aug 20, 2021
@edwardhartnett
Copy link
Contributor Author

@jbathegit the spirit is willing, but the flesh is weak. ;-) However gcovr works equally with C code, it just needs to be pointed at the correct subdirectories...

However, if you can figure this out, we will happily use it on the other projects.

@jbathegit
Copy link
Collaborator

As of #249, this is now resolved for the C portion of the library.

But we still need to figure out how to measure coverage for the Python portion of the library.

@jbathegit jbathegit changed the title Figure out how to measure Python and C test coverage Figure out how to measure Python test coverage Jun 17, 2024
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

No branches or pull requests

3 participants