In this video, I’m going to show you how to mock an external dependency for your ASP.NET Core API End-to-End testing.
We will be using a great open source .NET library called WireMock to achieve this goal while maintaining the same pattern of our tests and local configurations.

Here’s some useful links:
WireMock Library Repo:
https://github.com/WireMock-Net/WireMock.Net

SchoolX Source Code:
https://github.com/hassanhabib/SchoolX

SchoolM Source Code:
https://github.com/hassanhabib/SchoolEM

#testing #aspdtonet #developer

End-to-End Testing ASP.NET Core APIs (Part 2)
6.30 GEEK