-
In some situations, moq generates mocks that try to import internal 3rd party packages. Minimal example below.
example.go
```go
package app
import (
"context"
pubsub_api "cloud.google.co…
-
I've developed a small library that generates kotest assertions and mocks off of actual data:
https://github.com/AlexCue987/kotests-mockks-generator
It does not publish to Maven yet.
Is there any…
-
I will write unit tests of my C module which calls functions from another C -modul.
The other C modul has a public header (static and none static function prototypes).
The function prototypes in thi…
-
Description
-------------
Hi, I wanted to write some mock for my interface :
```golang
type ResponseLessUseCase[M any] interface {
Execute(message *M) *errors.Error
}
type SendEmailVerificat…
-
I currently use
`mockery -all -inpkg -testonly -case underscore`
It generates a mock of every interface in my package for unit test purposes. Some code in the package accepts interfaces defined…
-
Start with the following.
test scope: - confirm on classpath
runtime scope: generates mocks
(if possible)
Feature toggles would be good to
-
Counterfeiter generates mocks of interfaces that can be used in unit testing. However, these generated mocks import the package that the interface is defined in. This prevents us from using the mocks …
-
Twice in the last two weeks we have uploaded new private keys in PRs, and had to have SRE block those keys because they're compromised.
This should be impossible. We should make it so that boulder …
-
### What version of gazelle are you using?
0.35
### What version of rules_go are you using?
0.46
### What version of Bazel are you using?
6.5
### Does this issue reproduce with the latest …
-
- I have `classA` that has constructor dependency on `classB`.
- `classB` is class, does not have interface and is annotated with `Mockable` annotation (REEDME instructions) and has its own constru…