Better .NET Unit Tests with AutoFixture: Get Started

Create shorter, less cluttered, more readable, and refactor-safe test code.
Course info
Rating
(210)
Level
Beginner
Updated
April 4, 2015
Duration
1h 58m
Table of contents
Description
Course info
Rating
(210)
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
Automated Testing with MSTest V2
Intermediate
2h 2m
18 May 2018
Testing Precompiled Azure Functions: Deep Dive
Intermediate
1h 31m
13 Apr 2018
More courses by Jason Roberts