Better .NET Unit Tests with AutoFixture: Get Started
Pluralsight
Course Summary
Create shorter, less cluttered, more readable, and refactor-safe test code.
-
+
Course 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 Syllabus
Introducing AutoFixture- 17m 24s
—Introduction 0m 41s
—Benefits of AutoFixture 1m 59s
—Simplifying the Arrange Phase of Tests 1m 28s
—Anonymous Test Data 1m 25s
—Testing Framework Support 0m 42s
—Introducing the Fixture Class 1m 17s
—Getting Started in Visual Studio 8m 37s
—Summary 1m 14sCreating Anonymous Test Data- 38m 57s
—Introduction 0m 58s
—Creating Anonymous Strings 6m 20s
—Creating Anonymous Numbers 3m 44s
—Creating Anonymous Dates and Times 3m 40s
—Creating Anonymous Value Sequences 6m 44s
—Creating Custom Objects 6m 34s
—Creating Complex Object Graphs 3m 41s
—Creating Objects with DataAnnotations 2m 12s
—Creating Sequences of Custom Objects 3m 28s
—Summary 1m 32sCustomizing Object Creation- 28m 28sWriting Less Test Code and Improving Test Maintenance- 33m 53s