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

Alternative approach #2

Open
tailsu opened this issue Sep 18, 2013 · 0 comments
Open

Alternative approach #2

tailsu opened this issue Sep 18, 2013 · 0 comments

Comments

@tailsu
Copy link

tailsu commented Sep 18, 2013

Have you considered using static code analysis to gather the set of mocked types to bake into the test assembly?

I was thinking that it should be relatively straightforward to do gather (thru static analysis) all types for which "new Mock" is called as a post-build step and bake them mocks into the resulting assembly. It just seems much cheaper to do so.

What do you think?

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

1 participant