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

AutoMoq rewrite using ValueProvider #1145

Closed
wants to merge 3 commits into from
Closed

AutoMoq rewrite using ValueProvider #1145

wants to merge 3 commits into from

Conversation

riezebosch
Copy link

@riezebosch riezebosch commented Oct 4, 2019

Fix #1139

Please checkout this attempt which works very nicely but incurs some breaking changes.

  • Out and ref parameters not supported, always return default (due to how moq works with value providers).
  • Virtual members not implemented, only creating mocks for interfaces, abstract classes and delegates.

The latter is maybe easy to fix, but I wasn't sure that would be better.

@riezebosch riezebosch closed this by deleting the head repository Dec 22, 2022
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.

Rework integration with Moq to support generic methods
1 participant