SaaSHub helps you find the best software and product alternatives Learn more →
Bogus Alternatives
Similar projects and alternatives to Bogus
-
TypeORM
ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
-
eShopOnContainers
Discontinued Cross-platform .NET sample microservices and container based application that runs on Linux Windows and macOS. Powered by .NET 7, Docker Containers and Azure Kubernetes Services. Supports Visual Studio, VS for Mac and CLI based environments with Docker CLI, dotnet CLI, VS Code or any other code editor. Moved to https://github.com/dotnet/eShop.
-
SqlClient
Microsoft.Data.SqlClient provides database connectivity to SQL Server for .NET applications.
-
testcontainers-dotnet
A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
-
Fluent Assertions
A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit tests. Targets .NET Framework 4.7, as well as .NET Core 2.1, .NET Core 3.0, .NET 6, .NET Standard 2.0 and 2.1. Supports the unit test frameworks MSTest2, NUnit3, XUnit2, MSpec, and NSpec3.
-
-
InfluxDB
InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
-
-
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.
-
-
-
GenFu
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.
-
-
Verify
Verify is a snapshot testing tool that simplifies the assertion of complex data models and documents.
-
-
NBuilder
Discontinued Rapid generation of test objects in .NET [Moved to: https://github.com/nbuilder/nbuilder] (by garethdown44)
-
-
CacheManager
CacheManager is an open source caching abstraction layer for .NET written in C#. It supports various cache providers and implements many advanced features.
-
Fluent-Random-Picker
Fluent Random Picker is a nice, performant, fluent way to pick random values. Probabilities can be specified, values can be weighted.
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Bogus discussion
Bogus reviews and mentions
-
Iterations
Code which uses Bogus NuGet package for random data.
-
Effective Strategies for Writing Unit Tests with External Dependencies like Databases and APIs
Sometimes, especially when testing data-driven applications, it is important to simulate a wide variety of inputs and conditions. One of the best ways to achieve this is by using fake data generators. Tools like Faker (Python) or Bogus (C#) allow you to generate large volumes of realistic but random data. This is particularly useful when you need to test how your code handles various types of data (such as user information, addresses, or product details) without relying on real data.
-
Storing passwords safely (C#)
In the project AdminApplication (Windows forms) done cheaply using NuGet package Bogus to generate users.
-
Bogus DateOnly/TimeOnly
Bogus NuGet package data generator provides methods to work with DateOnly and TimeOnly that are not documented, learn these methods using an ASP.NET Core project and class project.
-
ASP.NET Core Integration Testing Best Practises
For assertions inside tests, I recommend using FluentAssertions Library. And if you want to generate some fake data for your tests, I recommend using Bogus.
-
Bogus custom Dataset
Bogus NuGet package is fake data generator which can be helpful for populating tables in a database and testing purposes. If a database is not used and Bogus populates list of data each time an application runs, the data is random, never the same. Also, the random data generated by Bogus may not meet a developer’s requirements.
-
C# User-defined explicit and implicit conversion operators
A list is populated with NuGet package Bogus.
-
Windows form move items up/down in ListView and more
Other project either mocked data using NuGet package Bogus or a json file.
-
Should I give a copy of the database to the developer
That reminds me of Bogus which also generates dummy data that I've been using for sometime now.
-
Best practices for organising Mock Data & Repositories in Testing
To do all this you need test though...and that's where ]Bogus](https://github.com/bchavez/Bogus) and Auto Bogus come in handy. They both generate semi random test data that you can use to populate whatever method you've decided to use. You can setup rules so for specific fields, they have built in generators for common things like names and addresses. Auto Bogus can be used to populate large/complicated objects with data automatically (it can be slow if you don't use .WithRecursiveDepth() or.WithTreeDepth() )
-
A note from our sponsor - SaaSHub
www.saashub.com | 26 Apr 2025
Stats
bchavez/Bogus is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.
The primary programming language of Bogus is C#.