JUnit 5 Tutorial - Crash Course

Marco Codes
Marco Codes
21.9 هزار بار بازدید - 2 سال پیش - Ever looked for a comprehensive
Ever looked for a comprehensive intro to JUnit 5 that is fun and entertaining at the same time? Then have a look at this brand-new episode of "Marco Codes": JUnit 5 Tutorial [Crash Course]. In this video, you'll learn how to use JUnit 5 like a professional. Understand what Maven/Gradle dependencies you'll need, how to write tests, how to use other assertion libraries like AssertJ and asserting JSON & XML, and explore new JUnit 5 features like @ParameterizedTests, @TestFactorys, and @ExtendWith. By the end of the tutorial, there won't be many questions left when it comes to JUnit 5. ► References jb.gg/xbe9vg ► Table Of Contents 00:00 Intro 00:17 Project Skeleton Overview 00:35 Maven/Gradle Dependencies 01:52 Project Overview - Classes 02:11 First Test Class & Fixture 03:02 @Test methods 04:59 First Test Run 05:23 Mvn + Junit5 Issues 07:12 JUnit Assertions 08:35 AssertJ - assertThat 13:40 @DisplayName 14:41 JSON Unit - Asserting JSON 17:34 XML Unit - Asserting XML 20:29 Lifecycle Intro 21:10 @BeforeEach 21:29 @AfterEach 22:15 @BeforeAll / @AfterAll 23:13 @ParameterizedTest 24:12 @ParameterizedTest - @ValueSource 25:22 @ParameterizedTest - @CSV Sources 26:47 @ParameterizedTest - @EnumSource 27:12 @TestFactory - Creating Dynamic Tests 31:34 @Tag 32:51 @ExtendWith - 3rd Party Integrations 35:24 Outro ► FOLLOW ME twitter.com/MarcoBehler www.marcobehler.com/
2 سال پیش در تاریخ 1401/02/21 منتشر شده است.
21,939 بـار بازدید شده
... بیشتر