NOAA-EMC / NCEPLIBS-bufr

The NCEPLIBS-bufr library contains routines and utilites for working with the WMO BUFR format.
Other
44 stars 19 forks source link

Figure out how to measure Python test coverage #80

Open edwardhartnett opened 3 years ago

edwardhartnett commented 3 years ago

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

aerorahul commented 3 years ago

@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 commented 3 years ago

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.

edwardhartnett commented 3 years ago

@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 commented 1 year ago

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.