-
**Is your feature request related to a problem? Please describe.**
I need to write unit-test, which need [gomock](https://github.com/uber-go/mock), and it need interface
**Describe the solution yo…
-
Apologies if this isn't the right place for this question but I didn't find a community forum.
I have a very simple scenario but I found it very hard to properly mock the Helm calls and avoid repea…
-
i want to mock http , should i import third-part package? example gomock
-
*Requested feature*
Provide possibility to setup default Matcher so you would not need to wrap all your arguments into your custom matcher.
*Why the feature is needed*
When you have hundreds of …
-
For instance, I wanted to have a mock of `net.Conn` but it didn't work as we only use the GOPATH env variable
-
# Goflow: Unit testing and coverage
## Goal
Provide a 95% unit test mocking where it's opportune with gomock. No tests are present in the current code base.
-
**Actual behavior**
Moving from `golang/mock` I got this error when running the `mockgen` command and using reflection:
```
mockgen -build_flags=-mod=vendor -destination=internal/testing/mock/moc…
-
### What version of Go are you using (`go version`)?
$ go version
go version go1.14.2 linux/amd64
### Does this issue reproduce with the latest release?
Yes.
### What operating sy…
-
**Actual behaviour**
When I have `EXPECT` set for two calls to the same method with different parameters - the order of `EXPECT` definitions enforces the order of the actual calls.
I.e. when havi…
-
Hi, I saw the recent [gomock discussion](https://github.com/corbym/gocrest/issues/4) and would love documentation on how to Implement Testify's custom matchers via [mock.MatchedBy](https://godoc.org/g…