Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

.NET Unit Testing with AutoFixture

via Pluralsight

Overview

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.

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 4, 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.

Syllabus

  • Course Overview 1min
  • Getting Started with AutoFixture 17mins
  • Creating Anonymous Test Data and Objects with AutoFixture 36mins
  • Customizing AutoFixture Object Creation 31mins
  • Writing Less Test Code and Improving Test Maintenance 33mins

Taught by

Jason Roberts

Reviews

4.9 rating at Pluralsight based on 96 ratings

Start your review of .NET Unit Testing with AutoFixture

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.