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
-
Hello everyone!
As the title suggests, I would like to exclude some interfaces from generation. I'm using the
.mockery.yaml
file to generate the mocks, and I have all the interfaces in the same package, but in separate files. So far, I've tried using theexclude
andexclude-regex
properties, but it has not been working for me.Here is my
.mockery.yaml
file:The files that I would like to exclude are in the package
mockery-test/interfaces/services
with the name "*ToExclude"Can you lend me a hand? Thanks
Beta Was this translation helpful? Give feedback.
All reactions