Open
Description
Following #201 and #3014, this issue will focus on creating a new extension API in JUnit Jupiter that allows for ClassLoader
customization.
This extension should be able to work in conjunction with others, such as @TestTemplate
.
How I see it designed in JUnit Jupiter:
- a new interface
ClassLoaderModifier
with a unique methodClassLoader modify(ClassLoader current)
- the documentation should precise that the returned class loader should have the same parent as the given one
What needs to be checked :
- Is this model sufficient for other class loading modifying tools (powermocks, robolectric, etc.) ?