-
Mock modules are generated from GoMock.
I believe they need to be updated if the module interface is changed.
Would be great to be able to regenerate Mock modules through the make file.
-
Hi, your plugin is really helpful! Thanks for it!
I found this issue trying it.
When I use "fmt" the step is found, but not linked in the feature file.
```go
// Works
ctx.Step(`^there are (\d…
-
Cound we support `AnyTimes/MaxTimes` call in mock, just like gomock
```golang
mockObj.EXPECT().SomeMethod(someVal).AnyTimes()
```
Or some other workaround?
-
Majority of the functions involve calls to functions from external packages which need to be mocked. Adding support for mocks can take `gotests` to the next level I believe.
e.g. An example functio…
-
**Actual behavior** A clear and concise description of what the bug is.
**Expected behavior** A clear and concise description of what you expected to
happen.
**To Reproduce** Steps to reproduce…
-
https://github.com/golang/mock/blob/112dfb85f71efc679eef2a9763162fa83fbee449/gomock/call.go#L184
If someone uses Return with an interface slice, like `.Return(rets...)`, this line mutates the calle…
Groxx updated
4 years ago
-
*Requested feature*
I am not sure if GoMock supports this natively or not. If it does, it would be nice if the documentation reflected how to do interaction testing more clearly. Interaction test…
-
Consider a source file `notifier.go` we want to mock, with the following pattern :
```go
type Clonable[T any] interface {
Clone() T
}
type Finder[T Clonable[T]] interface {
Find(ctx context.…
-
*Requested feature* A clear description of the desired feature and an example of
how it would be used.
A way to insert copyright file which already has comments inside into the header
*Why the …
-
Standard mocking utils like [gomock](https://github.com/golang/mock) do not really work well with Mir because they only allow setting expectations on method calls while we need to set expectations on …