Chapter 1
Getting Started with JUnit 5
Section 6
Extension Model
The Extension model provides seamless integration of JUnit 5 with existing testing frameworks. In order to create a custom extension, several actions have to be taken into account, which are explained in this video. - Implement the interface Extension within the package org.junit.jupiter.api.extension - Understand the extension model to choose the interfaces to be implemented - Use the extension with the annotation ExtendWith