Autofixture and IOptions<T> - A Winning Combination

A look at how you can customize AutoFixture to allow for IOptions to be created without mocking.

September 9, 2024 · 9 min

TimeProvider and Autofixture AutoMoq Issue

Tried to use the new TimeProvider in .NET with AutoFixture AutoMoq and had issues?

August 14, 2024 · 6 min

Easily Create and Manipulate Mock Anonymous Data for Unit Tests

Looking to easily create mock data for unit testing, harnessing the power of AutoFixture, C#9 Records and the Builder Pattern to aid with consistency and maintainability.

April 20, 2021 · 8 min

Generating Date of Birth values for .NET5.0 Record types using AutoFixture

Ever needed to generate realistic date of birth values for your anoymous unit test data? Sick of setting the value manually and seeing your own date of birth propagate through codebases as developers copy ’n’ paste your example? Time to get AutoFixture to do the heavy lifting!

March 9, 2021 · 5 min

Create Anonymous Data Object With AutoFixture From Type

Creating anonymous data using AutoFixture’s generic methods is great, but can you do it from a type?

February 2, 2021 · 3 min

AutoFixture and .NET 5.0 Record Types

Does AutoFixture and the new .NET 5 Record Types work together?

January 19, 2021 · 2 min

Lightning Talk on AutoFixture at dotNetOxford Nov 2020

First public speaking engagement, thoughts on how it went and link to video

November 24, 2020 · 5 min

Autofixture Generate Specific Format Values By Extending AutoDataAttribute

Using custom specimen builders with AutoDataAttribute functionality to reduce the amount of repeated code in your Arrange phase of unit tests.

August 18, 2020 · 3 min

AutoFixture Generate Specific Format with Specimen Builders

Writing a custom specimen builder to extend AutoFixture’s auto generation routines to abide by business requirements.

August 11, 2020 · 5 min