#sivalabs #intellij #ide #productivity #java #testing #junit #junit5 #assertj #maven #gradle #unittesting
In this video we are going to explore the following most commonly used JUnit 5 features.
* Lifecycle callbacks
* @BeforeEach
* @AfterEach
* @BeforeAll
* @AfterAll
* Test Instance Lifecycle
* @DisplayName
* @Tag
* @Disabled
* @EnabledOn / @DisabledOn
* @Timeout
* Nested tests using @Nested
* @ParameterizedTest
* Parallel Execution
Timestamps
00:00 Introduction to JUnit 5 features
01:48 JUnit 5 Lifecycle callback methods
04:42 Test Instance Lifecycle
08:04 Using @DisplayName for displaying custom test name
09:40 Using @Tag to tag tests and executing tests filtered by Tags
12:20 Disabling tests using @Disabled and conditionally enable/disable tests using @EnabledOn / @DisabledOn
15:18 Using @Timeout
17:10 Grouping tests by usecase using @Nested
20:18 Using @ParameterizedTest
26:12 Executing tests in parallel
🚀 🎬 Java Testing Made Easy Playlist [ Ссылка ]
🚀 🎬 Spring Boot - The Missing Guide Series Playlist [ Ссылка ]
🚀 🎬 Spring Boot Tips Series Playlist [ Ссылка ]
🚀 🎬 Spring Boot + Kubernetes Tutorial Series Playlist [ Ссылка ]
Blog: www.sivalabs.in
Twitter: [ Ссылка ]
Code Repository: [ Ссылка ]
![](https://i.ytimg.com/vi/c8oLjWgR-po/maxresdefault.jpg)