-
```
Can we get a good example in the repository? The code in the sample/ dir
doesn't compile properly:
1001)~ % cd Software/go/src/pkg/gomock.googlecode.com/hg/sample
1002)hg/sample % mockgen --so…
-
```
Can we get a good example in the repository? The code in the sample/ dir
doesn't compile properly:
1001)~ % cd Software/go/src/pkg/gomock.googlecode.com/hg/sample
1002)hg/sample % mockgen --so…
-
*Requested feature*
Mockgen supports creating `github.com/golang/mock/mockgen/model.Interface` models from `reflect.Type` data using
https://github.com/golang/mock/blob/6d816de489c18a7e9a8fbd2aa5bb…
-
### Requested feature
A `In([]T)` matcher which returns true if it matches one of the given value.
For Example:
```go
m.
EXPECT().
CheckIsFruit(gomock.In([]string{"Apple", "Banan…
-
The https://github.com/golang/mock repo is unmaintained and has been archived. They promote https://github.com/uber/mock instead.
> Update, June 2023: This repo and tool are no longer maintained. …
-
> Topic:
about go test,including unit test and integration
> TODO list:
- [ ] unit test
- [ ] integration test
> Refer:
- [goconvey](https://github.com/smartystreets/goconvey)
…
-
**Actual behavior** A clear and concise description of what the bug is.
The package alias produced by mockgen is variable for the same inputs. Specifically, sometimes we see
`extract "github.com/…
-
Is it possible to generate unexported mock types? i.e
input:
```go
package user
type userRepo interface {}
```
output:
```go
package user
type mockUserRepo struct {}
```
This way …
-
I have e scenario where I want to reuse the snapshot a container from a given point in time and use it many times over and over again.
One primitive that could be used for this is a `Copy` method tha…
-
Hi, maintainers! I would like to express my sincere gratitude for your efforts in maintaining gomock.
*Requested feature*
Is the issue https://github.com/golang/mock/issues/616 resolved? If not,…