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.
Posted on 20 April 2021
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!
Posted on 09 March 2021
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?
Posted on 02 February 2021
AutoFixture and .NET 5.0 Record Types
Does AutoFixture and the new .NET 5 Record Types work together?
Posted on 19 January 2021
Lightning Talk on AutoFixture at dotNetOxford Nov 2020
First public speaking engagement, thoughts on how it went and link to video
Posted on 24 November 2020
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.
Posted on 18 August 2020
AutoFixture Generate Specific Format with Specimen Builders
Writing a custom specimen builder to extend AutoFixture's auto generation routines to abide by business requirements.
Posted on 11 August 2020
- Code (103)
- C# (97)
- Thoughts (37)
- aspnetcore (35)
- Remote Working (27)
- Covid-19 (26)
- Azure (18)
- Azure Functions (17)
- Functions (16)
- Unit Testing (16)
- Dependency Injection (11)
- Refactoring (10)
- Design Patterns (10)
- HttpClient (7)
- AutoFixture (7)
- NET 6.0 (6)
- NET 5.0 (6)
- Integration Tests (6)
- Webhooks (6)
- Repost (6)
- Dev Tips (5)
- General (3)
- Resharper (3)
- Moq (3)
- dotnetcore (3)
- Public Speaking (2)
- Project Tye (2)
- FluentAssertions (2)
- Preview (2)
- Fitbit (2)
- NET 7.0 (1)
- Pulumi (1)
- SQL (1)
- Visual Studio (1)
- Razor Pages (1)
- Twitter (1)
- Quick Tip (1)
- Just Eat (1)
- Http Client (1)
- CLI (1)
- App Service (1)
- Azure AD B2C (1)
- ASP.NET 5.0 (1)
- Tip (1)
- Worker Services (1)
- net5 (1)
- Redis (1)
- Tye (1)
- Autofac (1)
- Buy Me a Coffee (1)
- SpaceX (1)
- netcore (1)
- Feature Management (1)
- Back to basics (1)
- Background Services (1)
- Configuration (1)
- Localisation (1)
- HTTP Headers (1)
- Published (1)
- Language Features (1)
- Design Principles (1)
- Top Tip (1)
- Middleware (1)
- NDepend (1)
- Reviews (1)
- Rest (1)
- Refit (1)
- vsts (1)
- aspnetmvc (1)
- Hardware (1)
- Surface (1)
- WCF (1)