-
We are facing an issue where `mockgen -prog_only ...` is exiting successfully, but outputting an empty file.
In our repo's build system (Bazel), the call to `mockgen -prog_only` is a cacheable buil…
blico updated
4 years ago
-
In GitLab by @EVODelavega on Mar 26, 2019, 16:06
Currently, the interfaces are being declared in the packages containing the type that implements them. This creates tight coupling, and makes testing …
-
I have a Go project that uses modules and stores its dependencies in the `vendor/` folder. In our CI pipeline, we install `gomock` and run it via `//go:generate mockgen -source ./foo/service.go -desti…
-
**Actual behavior**.
On go 1.14.
Running `go generate ./...` when the `vendor` dir is present fails with:
```
package github.com/golang/mock/mockgen: cannot find package "." in:
/Us…
-
So I've just been testing mock with protocol buffer generated code on a simple .proto file
```
syntax = "proto3";
package pb;
// A generic empty message
message Empty {
}
// The Add…
-
### What version of rules_go are you using?
`v0.22.4`
### What version of gazelle are you using?
`v0.20.0`
### What version of Bazel are you using?
`3.0.0`
### Does t…
danmx updated
4 years ago
-
**Chore summary**
What is the goal of this chore.
I want to create a mock data service but without http server. Currently, i have tried [swagmcok](https://github.com/subeeshcbabu/swagmock) but it go…
-
After fixing problem with imports that includes the major version (#326) there are serious performance penalty.
To optimise process of getting correct packages names we can call `go list` command for…
-
Here is the basic usage of the reflect mode
```
mockgen database/sql/driver Conn,Driver
```
It would be helpful to make the source mode usage to be like this:
```
mockgen -source-dir myPackageD…
-
When an unexpeced call occurs, the message should include the test name if set.
When writing test, my team often makes test that loop over test cases and uses setup functions to define the mock beh…