Unit Testing ASP.NET Core Web API using XUnit and FakeItEasy

added by DotNetKicks
6/17/2019 2:51:34 PM

1 Kicks, 164 Views

Let's take a one ASP.NET Core Web API method and add unit tests using XUnit and FakeItEasy. My environment: Visual Studio 2019 Enterprise, ASP.NET Core 2.2, FakeItEasy, AutoFixture and XUnit. Source code I have a Before and After version of the source code hosted on github.