Approval Tests 5 for .NET
Test code that checks complex output can be difficult and time-consuming to write and also hard to maintain. This course will teach you how to use Approval Tests to use human intelligence to easily and quickly write tests that check complex output.
What you'll learn
Complex output can be difficult to test and can result in more lines of test code being written. In this course, Approval Tests 5 for .NET, you’ll gain the ability to easily create tests that work with complex output. First, you’ll explore how to assert on complex output of different kinds. Next, you’ll discover how to use human intelligence to judge if test output is correct. Finally, you’ll learn how to more safely refactor legacy code and check application view rendering. When you’re finished with this course, you’ll have the skills and knowledge of Approval Tests needed to write your own tests more easily.
Table of contents
- Introduction 1m
- An Overview of Reporters 2m
- Using the File Launcher Reporter 5m
- Using Multiple Reporters 3m
- Using the Clipboard Reporter to Quickly Approve Changes 3m
- Reporting with Image Diff Comparison and Specifying an Explicit Diff Tool 7m
- Reporting Using Testing Framework Asserts 4m
- Using Reporter Attributes at the Class and Assembly Level 4m
- Using Approval Tests with Continuous Integration 2m
- Creating a Custom Approval Tests Reporter 5m
- Customizing Diff Tool Order in Approval Tests 2m
- Maintaining Approved Files 4m
- Summary 2m