TddBuddy.SpeedySqlLocalDb 0.9.1

A super quick localDB testing framework for use with Entity Framework. 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.

This framework was sliced out of from a production project where the test runs where nearing 40 minutes on the CI server. The bulk of the time was take up by 200 repository integration test. This due to Entity Framework's need to run migrations for each test being executed because each test needed its own DB to allow for proper isolation. After implementing the transactional scoping logic as per this package the total test run time was reduced to 8 minutes. A full 5x speed improvement.

There is a newer version of this package available.
See the version list below for details.
Install-Package TddBuddy.SpeedySqlLocalDb -Version 0.9.1
dotnet add package TddBuddy.SpeedySqlLocalDb --version 0.9.1
<PackageReference Include="TddBuddy.SpeedySqlLocalDb" Version="0.9.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TddBuddy.SpeedySqlLocalDb --version 0.9.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Initial Release

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.2.0 496 10/16/2017
1.1.4 599 8/8/2017
1.1.3 606 5/30/2017
1.1.2 554 1/25/2017
1.1.1 514 1/25/2017
1.1.0 480 1/24/2017
1.0.0 507 1/20/2017
0.9.1 776 8/24/2016
Show less