JUnit 5 offers several extension points that allow developers to customize how tests are discovered and executed. One of these…