We continue with JUnit 5 annotations:
works the same way as @BeforeEach except in this case, it is executed after each test case.
@BeforeAll and @AfterAll
These annotations tell JUnit engine to execute the method it is being annotated with before/after all other methods are being executed.
Well that’s all, I hope this helps you get started in developing high quality less buggy software applications with Test Driven Methodology.
To go even more advanced you can find the complete documentation here at the JUnit website