Mastering JUnit 5 Functional Interfaces

preview_player
Показать описание
Understand the functional interfaces that JUnit added into its API. Examples include Executable, Supplier (for lazy error messages), and ThrowingSupplier.

Tales from the jar side:

Thanks to the JUnit team for all their hard work!

00:00 - Welcome
00:25 - Functional Interfaces
02:14 - Functional interfaces in JUnit 5
04:22 - Executable example
07:51 - Lazy Messages with Supplier
09:30 - Supplier example
13:14 - ThrowingSupplier and its examples
Рекомендации по теме
Комментарии
Автор

Great explanation! Learned some interesting tricks again!

kappaj
Автор

Thanks Ken for the clear explanations and illustrations of the methods. I loved the embedded version of the "instant rimshot" by the way 😃

mustafailikkan
Автор

I was familiar with most of it, but the timeout ones are new to me and definitely useful. Before I used to use Awaitility which requires importing an extra library. As always your teaching style, pace and jokes are greatly appreciated. Thanks for the effort.

diegomx
Автор

Thanks, Ken for sharing your knowledge with us.

Joseph-oztx
Автор

Way too few people take advantage of these new functionalities

VerhoevenSimon