Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course
    • Libraries: If you want this course, consider one of these libraries.
    • Core Tech

Better .NET Unit Tests with AutoFixture: Get Started

Create shorter, less cluttered, more readable, and refactor-safe test code.

Jason Roberts - Pluralsight course - Better .NET Unit Tests with AutoFixture: Get Started
Jason Roberts
What you'll learn

The open source AutoFixture library helps reduce the amount of unnecessary code in the arrange phases of test code. It does this by automatically supplying values for test data that are required for the test to function, but where the exact value is unimportant. In addition to simple types, AutoFixture also creates object graphs of test data, reducing the amount of test code that needs to be written and reducing the chances that tests will break compilation when changes are made to production code.

Table of contents

About the author
Jason Roberts - Pluralsight course - Better .NET Unit Tests with AutoFixture: Get Started
Jason Roberts

With over 15 years experience, Jason Roberts is a Microsoft .NET MVP, freelance developer, and author.

Get access now

Sign up to get immediate access to this course plus thousands more you can watch anytime, anywhere.

Get started with Pluralsight