What is the usefulness of the "Add Fakes Assembly" feature?

Asked

Viewed 99 times

4

Beyond utility, how can we implement it?

I could not find documentation in Portuguese that would clarify this functionality much less examples of how to apply it.

Visual Studio

1 answer

3


You know what a Fake? Has documentation on the subject.

So adding this Assembly is enabling the project to be testable with a mechanism that simulates the most complex mechanisms that are not suitable to run during a test through mocks and shims.

  • 1

    I will consider as an answer even without some example (I understand that it will not be simple to exemplify a case) taking into account the good explanation about Fake (including the correlated existing on the site) - with them I will try to create my own test.

  • 1

    @But if you have specific questions when creating you can post that we try to answer.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.