Info
Version: | 2.0.96 |
Author(s): | Davyd McColl |
Last Update: | Tuesday, July 26, 2022 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/fluffynuts/PeanutButter |
NuGet Url: | https://www.nuget.org/packages/PeanutButter.TestUtils.Entity |
Install
Install-Package PeanutButter.TestUtils.Entity
dotnet add package PeanutButter.TestUtils.Entity
paket add PeanutButter.TestUtils.Entity
PeanutButter.TestUtils.Entity Download (Unzip the "nupkg" after downloading)
Dependencies
net452
- EntityFramework(>= 6.1.3)
- NUnit(>= 3.5.0)
- PeanutButter.FluentMigrator(>= 2.0.5)
- PeanutButter.RandomGenerators(>= 2.0.5)
- PeanutButter.TempDb(>= 2.0.5)
- PeanutButter.TempDb.LocalDb(>= 2.0.5)
- PeanutButter.TestUtils.Generic(>= 2.0.5)
- PeanutButter.Utils(>= 2.0.5)
- PeanutButter.Utils.Entity(>= 2.0.5)
- EntityFramework(>= 6.1.3)
- NUnit(>= 3.5.0)
- PeanutButter.FluentMigrator(>= 2.0.5)
- PeanutButter.RandomGenerators(>= 2.0.5)
- PeanutButter.TempDb(>= 2.0.5)
- PeanutButter.TempDb.LocalDb(>= 2.0.5)
- PeanutButter.TestUtils.Generic(>= 2.0.5)
- PeanutButter.Utils(>= 2.0.5)
- PeanutButter.Utils.Entity(>= 2.0.5)
Tags
* TestFixtureWithTempDb provides bootstrapping for tests which would use a temporary database (TempDBLocalDb)
* EntityPersistenceTestFixtureBase provides helpers for the common test of persisting and recalling entities
to test that mappings (automatic or manual) work as expected
* DbContextExtensions adds SaveChangesWithErrorReporting(), an extension method for DbContext derivatives
to provide more information within tests as to why a test is failing (such information is usually buried within
the exception maze that Entity provides).