ADatabaseFixture 0.1.2
Install-Package ADatabaseFixture -Version 0.1.2
dotnet add package ADatabaseFixture --version 0.1.2
<PackageReference Include="ADatabaseFixture" Version="0.1.2" />
paket add ADatabaseFixture --version 0.1.2
#r "nuget: ADatabaseFixture, 0.1.2"
// Install ADatabaseFixture as a Cake Addin
#addin nuget:?package=ADatabaseFixture&version=0.1.2
// Install ADatabaseFixture as a Cake Tool
#tool nuget:?package=ADatabaseFixture&version=0.1.2
ADatabaseFixture
An abstraction to help write integration tests. Contains the following packages:
ADatabaseFixture
Contains the abstract class DatabaseFixtureBase which needs an IDatabaseAdapter
and an optional IMigrator
to be created.
ADatabaseFixture.SqlServer
Contains SqlServerDatabaseAdapter : IDatabaseAdapter
for usage against an SqlServer database. The class does not require any parameters, but these optional parameters can be provided:
databaseName
: Defaults to a unique time-based name. Override to provide your own database namedataSource
: Defaults tolocaldb
. Override to set your own data sourceauth
: Defaults toIntegrated Security
. Override to set your own authentication
ADatabaseFixture.GalacticWasteManagement
Contains GalacticWasteManagementMigrator : IMigrator
which implements the migrator using the Galactic-Waste-Management migration library
ADatabaseFixture.FluentMigrator
Contains FluentMigratorMigrator : IMigrator
which implements the migrator using the FluentMigrator migration library
Using these packages for integration tests
TODO
Release Notes
0.1.0
Initial version
0.1.1
Added migrator versioning tables
0.1.2
Made migrator versioning tables static instead to be able to use with Respawn checkpoint (which should be a static instance)
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 2.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on ADatabaseFixture:
Package | Downloads |
---|---|
ADatabaseFixture.GalacticWasteManagement
ADatabaseFixture.GalacticWasteManagement, GalacticWasteManagement migration plugin for ADatabaseFixture |
|
ADatabaseFixture.SqlServer
ADatabaseFixture.SqlServer, SqlServer database adapter plugin for ADatabaseFixture |
|
ADatabaseFixture.FluentMigrator
ADatabaseFixture.FluentMigrator, FluentMigrator migration plugin for ADatabaseFixture |
GitHub repositories
This package is not used by any popular GitHub repositories.