NBuilder VS AutoFixture

Compare NBuilder vs AutoFixture and see what are their differences.

NBuilder

Rapid generation of test objects in .NET (by garethdown44)

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. (by AutoFixture)
Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Access the most powerful time series database as a service
  • SaaSHub - Software Alternatives and Reviews
NBuilder AutoFixture
1 8
52 2,946
- 2.1%
0.0 3.1
almost 7 years ago about 1 month ago
C# C#
- MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

NBuilder

Posts with mentions or reviews of NBuilder. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning NBuilder yet.
Tracking mentions began in Dec 2020.

AutoFixture

Posts with mentions or reviews of AutoFixture. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-20.

What are some alternatives?

When comparing NBuilder and AutoFixture you can also consider the following projects:

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

NSubstitute - A friendly substitute for .NET mocking libraries.

Moq - Repo for managing Moq 4.x

FakeItEasy - The easy mocking library for .NET

MSTest - MSTest framework and adapter

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.

FsCheck - Random Testing for .NET

SpecFlow - #1 .NET BDD Framework. SpecFlow automates your testing & works with your existing code. Find Bugs before they happen. Behavior Driven Development helps developers, testers, and business representatives to get a better understanding of their collaboration

AutoMoq - Auto mocking provider for Moq.

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.