gax-python icon indicating copy to clipboard operation
gax-python copied to clipboard

Improve test coverage

Open bjwatson opened this issue 9 years ago • 5 comments

What:

Improve test coverage in gax-python. Areas of inadequate coverage are detailed in reports like https://codecov.io/gh/googleapis/gax-python/tree/d59635e37d2420908a2828da8f54c0bbbd4cf4e6/google/gax

Why:

We already have 97.2% coverage, which is very good, but we can challenge ourselves to achieve 99%+ coverage as a stretch goal.

bjwatson avatar Aug 23 '16 19:08 bjwatson

@lukesneeringer how would you feel about switching to py.test style tests ala google-auth? If we ever want to, now is the time to do it while this library is relatively small.

I would be willing to help with that switch and getting us to 100% coverage.

theacodes avatar Mar 22 '17 23:03 theacodes

Since @bjwatson wrote that ticket, I think coverage had dropped. It was ~80% when I started.

This is a pretty high priority for me as soon as I finish the CI on the manual layers, and I will switch over to py.test.

lukesneeringer avatar Mar 23 '17 14:03 lukesneeringer

Cool, I'm happy to help with code review or anything else related to that, and I'm happy to help update the test code I wrote. :)

theacodes avatar Mar 23 '17 16:03 theacodes

I will loop you in as soon as I can pivot there. I want to do something similar on gax that I am doing on google-cloud-python, but I need to finish it on one repo at a time. :-)

And google-cloud-python is stuck in "get it working in AppVeyor" hell still...

lukesneeringer avatar Mar 23 '17 16:03 lukesneeringer

I want to do something similar on gax that I am doing on google-cloud-python

What did you have in mind (other than adding appveyor tests)? I recently overhauled testing in #161

theacodes avatar Mar 23 '17 16:03 theacodes