This chapter contains the following code samples:
- UnitTestingSamples
- UnitTestingSamples (Library to be tested)
- UnitTestingSamples.MSTests (Tests with MSTest)
- UnitTestingSamples.xUnit.Tests (Tests with xUnit)
- MockingSamples (library and xUnit tests using a mocking library)
- EFCoreSample (Library and unit tests using the in-memory EF Core provider)
- WindowsApp (UI Testing with WindowsApp.UITest)
- ASPNETCoreSample (integration tests with TestServer from AspNetCore.TestHost)
- WebApplicationSample (Web Load test)
The sample WindowsApp only runs on Windows.
To build and run the .NET Core samples, please install one of these tools:
- Visual Studio 2017 Update 5 with the .NET Core workload
- Visual Studio for Mac
- Visual Studio Code
Please download and install the tools from .NET Core downloads.
For code comments and issues please check Professional C#'s GitHub Repository
Please check my blog csharp.christiannagel.com for additional information for topics covered in the book.
Thank you!