Better .NET Unit Tests with AutoFixture: Get Started

Create shorter, less cluttered, more readable, and refactor-safe test code.
More
Create shorter, less cluttered, more readable, and refactor-safe test code.
More
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
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.
Course info
Level
Beginner
Rating
(180)
Duration
1h 58m
Updated
4 Apr 2015
Course authors

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

Share course