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 does not work with type alias #181

Closed
yiminc-zz opened this issue Jan 22, 2018 · 3 comments
Closed

mockery does not work with type alias #181

yiminc-zz opened this issue Jan 22, 2018 · 3 comments

Comments

@yiminc-zz
Copy link

golang 1.9 introduce the type alias feature.
mockery is not able to generate mock for interface that is defined as alias of another interface.

@cpenner-va
Copy link

Any updates on this?

@LandonTClipp
Copy link
Collaborator

Closing historic ticket. Please open a new one if you still have issues.

@LandonTClipp
Copy link
Collaborator

Please use this feature to get around the issue of the golang AST parser not retaining type alias information.

LandonTClipp pushed a commit to LandonTClipp/mockery that referenced this issue Oct 19, 2023
The optional with-resets flag adds methods to reset method calls. Calls
can be reset individually or all at once with these.
LandonTClipp pushed a commit to LandonTClipp/mockery that referenced this issue Nov 20, 2023
The optional with-resets flag adds methods to reset method calls. Calls
can be reset individually or all at once with these.
LandonTClipp pushed a commit to LandonTClipp/mockery that referenced this issue Dec 23, 2023
The optional with-resets flag adds methods to reset method calls. Calls
can be reset individually or all at once with these.
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

3 participants