11 best C# Testing Data libraries in 2024
by marketing.admin@openweaver.com Updated: Jan 3, 2023
Guide Kit
The first step in unit testing is to isolate the piece of code to be tested. This is done by placing it into a class or function library. Testing data is important for the effectiveness of this isolation because it allows developers to verify that their code works properly in a variety of scenarios. One way to do this would be by manually entering them as arguments every time you want to run one of your test cases - which can get tedious very quickly! A faster option would be using Test Data Libraries (TDLs). Let’s see the 11 best open-source C# Testing Data Libraries in 2022: GenFu - generate realistic test data; AutoFixture - open source library for .NET designed; Bogus - sane fake data generator.
Bogusby bchavez
:card_index: A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.
Bogusby bchavez
C# 7300 Version:v34.0.2 License: Others (Non-SPDX)
AutoFixtureby AutoFixture
AutoFixture is an open source library for .NET designed to minimize the 'Arrange' phase of your unit tests in order to maximize maintainability. Its primary goal is to allow developers to focus on what is being tested rather than how to setup the test scenario, by making it easier to create object graphs containing test data.
AutoFixtureby AutoFixture
C# 3016 Version:v4.18.0 License: Permissive (MIT)
Verifyby VerifyTests
Verify is a snapshot tool that simplifies the assertion of complex data models and documents.
Verifyby VerifyTests
C# 1944 Version:20.2.0 License: Permissive (MIT)
GenFuby MisterJames
GenFu is a library you can use to generate realistic test data. It is composed of several property fillers that can populate commonly named properties through reflection using an internal database of values or randomly created data. You can override any of the fillers, give GenFu hints on how to fill them.
GenFuby MisterJames
C# 804 Version:1.6.0 License: Others (Non-SPDX)
NBiby Seddryck
NBi is a testing framework (add-on to NUnit) for Business Intelligence and Data Access. The main goal of this framework is to let users create tests with a declarative approach based on an Xml syntax. By the means of NBi, you don't need to develop C# or Java code to specify your tests! Either, you don't need Visual Studio or Eclipse to compile your test suite. Just create an Xml file and let the framework interpret it and play your tests. The framework is designed as an add-on of NUnit but with the possibility to port it easily to other testing frameworks.
NBiby Seddryck
C# 101 Version:v1.23 License: Permissive (Apache-2.0)
DatabaseBenchmarkby STSSoft
Database Benchmark is one of the most powerfull open source tools designed to stress test databases with large data flows.
DatabaseBenchmarkby STSSoft
C# 70 Version:v.3.0.0-final License: Strong Copyleft (GPL-2.0)
TestDataGenerator.Coreby SecretDeveloper
A library that can be used to generate data for testing or other uses. You provide it with a pattern containing symbols defining the output you want to produce and it will create random data to match that pattern.
TestDataGenerator.Coreby SecretDeveloper
C# 67 Version:4.1.0 License: Permissive (MIT)
SeeSharpToolsby SeeSharpOpenSource
This open source repository is developed and maintained by the JYTEK company, Shanghai, China, for the purpose of facilitating the development of the test and measurement using C# programming language. The project follows the GNU GPL V3.0 license and provides many commonly used T&M GUIs, utilities, data manipulations, and algorithms.
SeeSharpToolsby SeeSharpOpenSource
C# 59 Version:V1.4.6 License: Strong Copyleft (GPL-3.0)
TinyXWingCleanby brihernandez
Tech demo for testing JSON-loaded game data
TinyXWingCleanby brihernandez
C# 46 Version:Current License: Permissive (Zlib)
TestApiby microsoft
TestApi is a library of test and utility APIs that enables developers and testers to create testing tools and automated tests for .NET and Win32 applications. TestApi provides a set of common test building blocks -- types, data-structures and algorithms -- in a simple, layered, componentized and documented stack.
TestApiby microsoft
C# 42 Version:Current License: Weak Copyleft (MS-PL)
ModelBuilderby roryprimrose
A library for easy creation and data population of model classes for testing
ModelBuilderby roryprimrose
C# 18 Version:8.2.0 License: Permissive (MIT)