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

Add AutoMocking support for NSubstitute #22

Merged
merged 8 commits into from Jul 23, 2019

Conversation

@Mathijs-Bakker
Copy link

commented Jul 16, 2019

Changes:

  • AutoSubstitute.zip added to OptionalExtras.
  • AutoMocking.zip moved to OptionalExtras for continuity.
  • AutoMocking.md documentation modified to cover both Moq and NSubstitute libraries.

AutoSubstitute
AutoSubstitute.zip contains a modification of the ZenjectMoqExtension class which now - obviously - supports auto mocking with NSubstitute. Unit tests and a working library is provided in the package.

Both AutoMoq and AutoSubstitute archives are placed in the OptionalExtras directory. As the extracted folders need to be placed inside an OptionalExtras path.

Documentation for Auto Mocking has been modified.
The intro to mocking has become more generic. And NSubstitute has been added.
Also the installation instructions for Moq has been tweaked.
Note: the documentation could need an extra eye. As I am not a native English speaker.

@Mathijs-Bakker Mathijs-Bakker changed the title Adding AutoMocking support for NSubstitute Add AutoMocking support for NSubstitute Jul 21, 2019

@svermeulen svermeulen merged commit b605ce0 into svermeulen:master Jul 23, 2019

@svermeulen

This comment has been minimized.

Copy link
Owner

commented Jul 23, 2019

Awesome. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.