Skip to content
/ NDbUnit2 Public
forked from NDbUnit/NDbUnit

A revived .NET library for managing database state during unit testing, with roots in NDbUnit project

License

Notifications You must be signed in to change notification settings

NAnt2/NDbUnit2

 
 

Repository files navigation

NDbUnit2 is a .NET library for managing database state during unit testing.

It is the successor/fork of NDbUnit, updated to the current .NET world where we have .NET, .NET Core. Mono running on all platforms (Windows, Linux, MacOS).

Sections Status
Issues Waffle.io - Columns and their card count
Build Windows Build status Linux, MacOS Build Status
Coverage SonarQube SonarCloud Coverage Codecov codecov Coveralls Coverage Status
Code quality Quality Gate SonarCloud Bugs SonarCloud Vulnerabilities

NDbUnit may be used to increase repeat-ability in unit tests that interact with a database by ensuring that the database's state is consistent across execution of tests. NDbUnit does this by allowing the unit test to perform an operation on a dataset before or after the execution of a test, thus ensuring a consistent state.

NDbUnit:

  • is an open-source Apache 2.0-licensed project
  • is written in C#
  • compiled against the .NET 2.0 CLR and runs with the 2.0, 3.0, and 3.5, 4.0, and 4.5 fx releases
  • borrows many ideas from DbUnit, and makes them available for the .NET platform

NDbUnit supports the following Database Server Targets:

  • Microsoft SQL Server 2005 2008, 2012, 2014 (Express thru Enterprise)
  • Microsoft SQL Server CE 2005 and 2008
  • Microsoft OleDB-supported databases
  • SQLLite
  • MySQL
  • PostgreSQL through 9.4
  • Oracle (XE thru Enterprise, tested up to 12c)

About

A revived .NET library for managing database state during unit testing, with roots in NDbUnit project

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.5%
  • Batchfile 0.5%