Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mockery should allow me to generate multiple interfaces in one line #51

Closed
gaffo opened this issue Feb 1, 2016 · 5 comments
Closed

Comments

@gaffo
Copy link

gaffo commented Feb 1, 2016

I've got a bunch of interfaces I'd like to generate but mockery only allows me to specify one per invocation. There's a ton of other interfaces I don't want to generate in the same code paths so I can't do the ... form. Let me just specify multiple paths on the same invocation.

@evanphx
Copy link
Member

evanphx commented Feb 1, 2016

You can specify -all. But I'm also fine having -name take multiple arguments and could even take a regex to match. Would that work?

@evanphx evanphx closed this as completed Feb 13, 2016
@gaffo
Copy link
Author

gaffo commented Feb 27, 2016

Yes that would be great

@gaffo
Copy link
Author

gaffo commented Apr 5, 2016

So are you thinking multiple -names? or comma seperated or regexp?

@gaffo
Copy link
Author

gaffo commented Apr 5, 2016

I've got approval to work on this at work, not guaranteed to do it :)

@gaffo
Copy link
Author

gaffo commented Apr 5, 2016

Can you re-open so I can work towards it?

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

No branches or pull requests

2 participants