Simple play icon Course
Skills

.NET Unit Testing with AutoFixture 4

by Jason Roberts

This course will teach you how to use AutoFixture to improve your test code and make tests quicker to write, more readable, and more maintainable.

What you'll learn

Automated tests can be time consuming to write and costly to maintain if every time you change the production code you must update all the tests.

In this course, .NET Unit Testing with AutoFixture, you’ll learn to how to use AutoFixture to automatically generate anonymous test data.

First, you’ll explore how to use AutoFixture to generate anonymous test data for both basic types and your own custom types.
Next, you’ll discover powerful ways to control and customize how AutoFixture generates anonymous test objects.
Finally, you’ll learn how to dramatically reduce the amount of test code you need to write by getting AutoFixture to also create the thing you’re testing and even automatically create mock dependencies.

When you’re finished with this course, you’ll have the skills and knowledge of AutoFixture needed to write unit tests more quickly and easily.

Table of contents

Course Overview
1min

About the author

With over 15 years of experience in both frontend and backend software development, Jason Roberts is a freelance developer, trainer, and author. He holds a Bachelor of Science degree in computing, is the author of several books, and writes at his blog DontCodeTired.com. Jason is an open source contributor and in addition to enterprise software development, he has designed and developed Windows Store and Windows Phone apps.

Ready to upskill? Get started