#32 Soft asserts: Writing soft asserts where we need to do multi asserts in a test using Junit5.

preview_player
Показать описание

Goal:
In this video, we will learn about how we can write soft asserts, where we need to do multi asserts in a test using Junit5. Junit5 provides a quick and easy way to do this although these are not fluent in nature, so you cannot do method chaining with them (which is something you can do with other libraries such as assertJ - out of scope for this video).

Objective:
- Show how to write soft assertions using Junit5 assertAll method.

Next steps:
- Show why we need reusable workflows and how to create them.
Рекомендации по теме