I wonder how to configure an extension by a test.
Scenario: The test provides a value that should be used inside the extension.
Current Solution: The value is defined as field inside the test and used by the extension thru scanning all declared fields and pick the correct one (reflection).
Problem: This solution is very indirect. People using this extension must know about extension internals and declare the correct fields (type and value). Errors can lead the developer into the right direction, but its a bit of pain by try/error.
Is there a way to use e.g. annotation with value to configure a junit5 extension?