An open API service indexing awesome lists of open source software.

https://github.com/jayesh-tanna/unittest-mocking

Mocking practices using Moq in Microsoft unit test framework
https://github.com/jayesh-tanna/unittest-mocking

c-sharp moq test-framework unittests

Last synced: 13 days ago
JSON representation

Mocking practices using Moq in Microsoft unit test framework

Awesome Lists containing this project

README

          

# unittest-mocking

This solution contains below components.

Contracts: All entities, enums will be part of this component.

Repositories: This component contains all Repositories including IRepository interface. All repositories implementing IRepository interface. This component is responsible to connect with Data component.

Services: This component is responsible to contain all business logic.

Services.Interfaces: This component contains interfaces related to services. So service can implement respective interface. This can be used for DI.

Services.UnitTests: This components having all unit tests. This component contains unit tests related to our services.