Closed imosquera closed 10 years ago
I think for now thats what we'll do in order to export the private variables.
It is now possible to partially mock packages other than the one under test, which is much harder without breaking the ability to use gocov to get coverage data from the code under test.
Is there a way to do partial mocking with the "withmock" package? If not, have you thought about an approach? I'd love to help to make this happen as I see this library as an essential piece to testing in golang. Let me know.