A More Practical Guide to JUnit 5 Parameterized Tests

preview_player
Показать описание
JUnit 5 parameterized tests make it possible to run the same test multiple times with different arguments. This way, you can quickly verify various conditions without writing a test for each case.

00:00 Introduction
00:35 Single argument
02:58 Multiple arguments
04:40 Sharing arguments between tests
06:27 Comma-separated values
08:46 Type conversion
10:26 Custom converters
14:34 Custom display names
15:26 Outro

#Programming #JUnit5
Рекомендации по теме
Комментарии
Автор

This was great video, was not aware of these kind of features

muurimc
Автор

Amazing! 👏
you teach good stuff, thank you Arho

ramsay
Автор

Man this is awesome video. Please continue on that. Explanations are very simple, clear and helpful. Keep it up and thanks for sharing.

youkaba
Автор

Hi Arho, thanks for the demo. Does Junit 5 have a way to access the parameters passes to test method from outside the method, say in @AfterEach method?

punitagosar