JUnit 5. 4. Test Lifecycle

Published: 30 April 2021
on channel: dmdev
8,612
261

In the video, we will analyze the life cycle of tests, because in fact we have 4 more main annotations besides @Test: @BeforeAll, @BeforeEach, @AfterEach and @AfterAll. We will learn all the nuances of their use, as well as what the @TestInstance annotation is used for.

Link to courses on the udemy platform:
https://taplink.cc/denis.dmdev

To subscribe to the channel, click the link:
   / dmdev  

Link to the code from the lesson:
https://github.com/dmdev2020/junit5-m...

00:00 - Introduction
00:21 - Test life cycle
02:00 - Test for checking the number of users
04:30 - Annotations @BeforeEach and @AfterEach
07:18 - Annotations @BeforeAll and @AfterAll
08:30 - Annotation @TestInstance


On this page of the site you can watch the video online JUnit 5. 4. Test Lifecycle with a duration of hours minute second in good quality, which was uploaded by the user dmdev 30 April 2021, share the link with friends and acquaintances, this video has already been watched 8,612 times on youtube and it was liked by 261 viewers. Enjoy your viewing!