Better .NET Unit Tests with AutoFixture: Get Started

Create shorter, less cluttered, more readable, and refactor-safe test code.
Course info
Rating
(197)
Level
Beginner
Updated
April 4, 2015
Duration
1h 58m
Table of contents
Description
Course info
Rating
(197)
Level
Beginner
Updated
April 4, 2015
Duration
1h 58m
Description

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.

About the author
About the author

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

More from the author
Testing Automation: The Big Picture
Beginner
1h 6m
8 Aug 2017
ASP.NET Core MVC Testing Fundamentals
Intermediate
2h 56m
19 Jun 2017
More courses by Jason Roberts