YoVDO

Improving Unit Tests with Fluent Assertions

Offered By: Pluralsight

Tags

Software Testing Courses .NET Courses Unit Testing Courses

Course Description

Overview

Waste less time debugging failing tests by improving test failure messages, with the added benefit of making your test code more readable and maintainable, by using the Fluent Assertions library.

When tests fail it can be hard to understand exactly what caused the failures. If test failure messages are ambiguous or not detailed enough you sometimes have to fire up the debugger and run the test in debug mode just to find out what the failure was. In this course, Improving Unit Tests with Fluent Assertions 5, you will learn foundational knowledge of Fluent Assertions. First, you will discover how to improve the readability of your test code. Next, you will explore the different ways to assert on different result types such as strings, floating point numbers, collections, and exceptions. Finally, you will gain an understanding of how to improve test failure messages to reduce the need to waste time debugging through failing tests. When you are finished with this course, you will have the skills and knowledge of Fluent Assertions needed to improve readability and test failure messages for automated tests.

Syllabus

  • Course Overview 1min
  • Improving Unit Tests with Fluent Assertions 38mins

Taught by

Jason Roberts

Related Courses

Introduction to Functional Programming
Delft University of Technology via edX
MongoDB for .NET Developers
MongoDB University
基于.Net的Web开发技术
Xi'an Jiaotong University via Coursera
Web Development with ASP.NET C# and Entity Framework Code-First
Canvas Network
Blazor and JavaScript Interoperability
Coursera Project Network via Coursera