-
Is it possible to separate the package? We only need mock service when running unit test and won't generate it
## Background
We need put generated mock inside `gen/mock` directory. The directory t…
-
*Requested feature*
Add builtin custom matcher function
*Why the feature is needed*
Currently, we should implement Matcher interface in our own code, and it can be useful to provide the ability …
-
Starting June 2023, [github.com/golang/mock](https://github.com/golang/mock) is no longer maintained and has been archived. The repo forked from this at [github.com/uber-go/mock](https://github.com/ub…
-
**Actual behavior**
Generated code doesn't take into account whether a function parameter might shadow an imported package name.
**Expected behavior**
The generated code should use imported p…
-
**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…
-
If I derive a type from a core type and use that in my expectations, tests start failing where they didn't before, even where the inputs have not changed. I've only tested this with a `map`.
Below …
-
Is there a way to mock a system package, e.g. net.Addr?
Manually, I would run the following command:
`mockgen -destination=addr.go net Addr`
In bazel_gomock, however, the source is a bazel ta…
-
*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 …
-
i want to mock http , should i import third-part package? example gomock
-
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…