Skip to content

Alternative approach #2

Description

@tailsu

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions