Info
Version: | 1.1.0 |
Author(s): | StoneAge Technologies |
Last Update: | Friday, September 11, 2020 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/TddBuddy.SpeedyLocalDb.DotNetCore |
Install
Install-Package TddBuddy.SpeedyLocalDb.DotNetCore
dotnet add package TddBuddy.SpeedyLocalDb.DotNetCore
paket add TddBuddy.SpeedyLocalDb.DotNetCore
TddBuddy.SpeedyLocalDb.DotNetCore Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.EntityFrameworkCore(>= 3.1.8)
- Microsoft.EntityFrameworkCore.Relational(>= 3.1.8)
- Microsoft.EntityFrameworkCore.SqlServer(>= 3.1.8)
- NUnit(>= 3.12.0)
- System.Data.SqlClient(>= 4.8.2)
It uses a localDB instance for the entire test run's life.
Each test's execution is wrapped into transaction to avoid test interfering with each other.
This means the cost of setting up the DB is only paid once. That is when the first test executes and the EF migrations are run to initialize the DB to the correct state.
Now supports Non-EF migrations .WithMigrationAction(()=>{ /* action*/ }); on the builder.