Replies: 1 comment
-
|
Noticed that my issue was with the conflict between ‘all’ and ‘exclude-regex’. Removed ‘all’ and now it works |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone!
As the title suggests, I would like to exclude some interfaces from generation. I'm using the
.mockery.yamlfile to generate the mocks, and I have all the interfaces in the same package, but in separate files. So far, I've tried using theexcludeandexclude-regexproperties, but it has not been working for me.Here is my
.mockery.yamlfile:The files that I would like to exclude are in the package
mockery-test/interfaces/serviceswith the name "*ToExclude"Can you lend me a hand? Thanks
Beta Was this translation helpful? Give feedback.
All reactions