cogcomp-nlpy icon indicating copy to clipboard operation
cogcomp-nlpy copied to clipboard

Code Coverage on Testing

Open GHLgh opened this issue 8 years ago • 1 comments

I think we should have code coverage for testing to make sure unit tests cover everything.

This is the library I found and we can see how to incorporate it into our tests.

And related stackoverflow post: http://stackoverflow.com/questions/34728734/python-unit-test-coverage

GHLgh avatar Apr 27 '17 17:04 GHLgh

Not sure how useful their result is though. It would certainly tell us how much we are covering But often it is unclear how to interpret their numbers.
I would rather we continue the current trend of incrementally adding the tests, whenever any issue comes up.

danyaljj avatar Apr 27 '17 19:04 danyaljj