Skip to content

Conversation

@ikolomiyets
Copy link

This PR is related to the issue #262.
The idea here is that a new argument '-t' is getting introduced which is mutually exclusive with '-p' and '-o' as it is generates fake implementation to the same package into the _test.go package.

ikolomiyets and others added 9 commits October 5, 2023 18:22
counterfeiter to generate fakes in the same package
in the _test.go files, so in case the interface is
defined in the same package where it is used there
won't be circular dependency.
…y, in case fakes are generated into the same package's _test.go file.
Ensured that '-t' option is not mixed up with '-p' or '-o'.
Revering io.Discard back to ioutil.Discard as it is irrelevant to this issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant