Bogus

:card_index: A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js. (by bchavez)

Bogus Alternatives

Similar projects and alternatives to Bogus

  1. TypeORM

    169 Bogus VS 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.

  2. 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.

    CodeRabbit logo
  3. BenchmarkDotNet

    Powerful .NET library for benchmarking

  4. 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.

  5. SqlClient

    Microsoft.Data.SqlClient provides database connectivity to SQL Server for .NET applications.

  6. testcontainers-dotnet

    A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.

  7. 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.

  8. Stryker.NET

    Mutation testing for .NET core and .NET framework!

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. FsCheck

    Random Testing for .NET

  11. 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.

  12. Moq

    27 Bogus VS Moq

    Discontinued Repo for managing Moq 4.x [Moved to: https://github.com/moq/moq]

  13. NSubstitute

    A friendly substitute for .NET mocking libraries.

  14. GenFu

    0 Bogus VS 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.

  15. Ocelot

    7 Bogus VS Ocelot

    .NET API Gateway

  16. Verify

    6 Bogus VS Verify

    Verify is a snapshot testing tool that simplifies the assertion of complex data models and documents.

  17. FakeItEasy

    The easy mocking library for .NET

  18. NBuilder

    Discontinued Rapid generation of test objects in .NET [Moved to: https://github.com/nbuilder/nbuilder] (by garethdown44)

  19. HonkSharp

    Some wrappers and API and methods for fast and convenient declarative coding in C#

  20. CacheManager

    CacheManager is an open source caching abstraction layer for .NET written in C#. It supports various cache providers and implements many advanced features.

  21. Fluent-Random-Picker

    Fluent Random Picker is a nice, performant, fluent way to pick random values. Probabilities can be specified, values can be weighted.

  22. xUnit

    44 Bogus VS xUnit

    xUnit.net is a free, open source, community-focused unit testing tool for .NET.

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Bogus alternative or higher similarity.

Bogus discussion

Log in or Post with

Bogus reviews and mentions

Posts with mentions or reviews of Bogus. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-22.
  • Iterations
    3 projects | dev.to | 22 Dec 2024
    Code which uses Bogus NuGet package for random data.
  • Effective Strategies for Writing Unit Tests with External Dependencies like Databases and APIs
    6 projects | dev.to | 14 Nov 2024
    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#)
    2 projects | dev.to | 3 Nov 2024
    In the project AdminApplication (Windows forms) done cheaply using NuGet package Bogus to generate users.
  • Bogus DateOnly/TimeOnly
    4 projects | dev.to | 8 Sep 2024
    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
    2 projects | dev.to | 6 Aug 2024
    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
    2 projects | dev.to | 6 Jan 2024
    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
    2 projects | dev.to | 1 Jan 2024
    A list is populated with NuGet package Bogus.
  • Windows form move items up/down in ListView and more
    2 projects | dev.to | 22 Dec 2023
    Other project either mocked data using NuGet package Bogus or a json file.
  • Should I give a copy of the database to the developer
    1 project | /r/dotnet | 25 Jun 2023
    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
    3 projects | /r/dotnet | 2 Jun 2023
    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
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic Bogus repo stats
32
9,220
7.8
14 days ago

Sponsored
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.
coderabbit.ai

Did you know that C# is
the 10th most popular programming language
based on number of references?