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?
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?