» » .NET Unit Testing with AutoFixture
Information of news
9-07-2021, 23:27

.NET Unit Testing with AutoFixture

Category: Tutorials


.NET Unit Testing with AutoFixture
Duration: 1h 59m | Updated: Aug 7, 2020 | Video: 1280x720, 48kHz | 351 MB
Genre: eLearning | Language: English | Level: Beginner

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.

01. Course Overview:
01. Course Overview

02. Getting Started with AutoFixture:
01. Introduction
02. Simplifying the Arrange Phase of Tests with AutoFixture
03. Supported Frameworks
04. Introducing the Fixture Class
05. Creating a Test Project and Installing AutoFixture
06. Writing an Initial Test with Non-anonymous Test Data
07. Writing a Test with Manual Anonymous Test Data
08. Using an AutoFixture Fixture Instance to Create Anonymous Test Data
09. Summary

03. Creating Anonymous Test Data and Objects with AutoFixture:
01. Introduction
02. Creating Anonymous Strings
03. Creating Anonymous Numbers
04. Creating Anonymous Dates and Times
05. Creating Enums and GUIDs
06. Generating Email Addresses
07. Creating Sequences of Anonymous Values
08. Creating Anonymous Instances of Custom Types
09. Creating Complex Anonymous Object Graphs
10. Creating Objects with DataAnnotations
11. Summary

04. Customizing AutoFixture Object Creation:
01. Introduction
02. Customizing Values Generated by a Fixture Instance
03. Freezing Values in AutoFixture
04. Using the AutoFixture Test Data Builder Pattern
05. Understanding Specimens and the AutoFixture Pipeline
06. Examples of Prebuilt Customizations
07. Creating a Custom AutoFixture Specimen Builder
08. Summary

05. Writing Less Test Code and Improving Test Maintenance:
01. Introduction
02. The Problem with Manual Test Data Creation
03. Creating Refactor-safe Test Code with AutoFixture
04. Parameterized xUnit.net Tests with Anonymous Data
05. Auto-mocking with AutoFixture and Moq
06. Combining Auto Mocking and Auto Data in xUnit.net
07. Using AutoFixture to Improve Code Design and Maintainability
08. Summary and Further Learning




Site BBcode/HTML Code:
Dear visitor, you went to the site as unregistered user.
We recommend you Sign up or Login to website under your name.
Would you like to leave your comment? Please Login to your account to leave comments. Don't have an account? You can create a free account now.
free html hit counter