Install-Package DataTestLoader -Version 1.1.2
dotnet add package DataTestLoader --version 1.1.2
<PackageReference Include="DataTestLoader" Version="1.1.2" />
paket add DataTestLoader --version 1.1.2
#r "nuget: DataTestLoader, 1.1.2"
// Install DataTestLoader as a Cake Addin #addin nuget:?package=DataTestLoader&version=1.1.2 // Install DataTestLoader as a Cake Tool #tool nuget:?package=DataTestLoader&version=1.1.2
Automatically creation and loading Postgresql database test data
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
To obtain Unit Test and Integration Test effective and consistent, they must always be performed in isolated environments, in order to ensure the existence of the expected data and to grant the possibility to modify them if necessary.
Unfortunately, the creation of databases for tests is a time-consuming and repetitive activity. This project was created to facilitate the creation of database test.
The idea is simple: the data are exported from the development database based on .json format and then recreated in another database created ad-hoc. The new database will have an identical structure to the source database and will contain only the data you need to test. This can be reproduced several times, since the test database is deleted, created and reloaded with all data provided by the developer.