-
Course
- Core Tech
Improving Unit Tests with Fluent Assertions 5
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.
What you'll learn
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.
Table of contents
About the author
With over 15 years experience, Jason Roberts is a Microsoft .NET MVP, freelance developer, and author.
More Courses by Jason