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.
Overview
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.
Syllabus
- Course Overview 1min
- An Introduction to Approval Tests 21mins
- Verifying Complex Objects and Arrays with Approval Tests 30mins
- Using Approval Tests Reporters 43mins
- Testing Application View Rendering with Approval Tests 22mins
- An Introduction to Refactoring Legacy Code with Approval Tests 22mins
Taught by
Jason Roberts