Info
Version: | 6.0.8-rc1based |
Author(s): | Daan Acohen |
Last Update: | Saturday, October 2, 2021 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/ConnectingApps/DncWireMockDemo#integrationfixture |
NuGet Url: | https://www.nuget.org/packages/ConnectingApps.IntegrationFixture |
Install
Install-Package ConnectingApps.IntegrationFixture
dotnet add package ConnectingApps.IntegrationFixture
paket add ConnectingApps.IntegrationFixture
ConnectingApps.IntegrationFixture Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.AspNetCore.Mvc.Testing(>= 5.0.0)
- Microsoft.NET.Test.Sdk(>= 16.8.0)
- WireMock.Net(>= 1.3.6)
Just create an instance of the Fixture class and this library does the work for you to trigger your code in the Startup and Program class. There is a create method to create a test instance and a freeze method to create external dependencies (services) with WireMock.NET.