-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Milestone
Description
The Platform should provide an extensible mechanism (ServiceLoader?) so that user code can create "closeable resources" that are injected as part of the context received by TestEngine implementations.
This feature is analogous to the ExtensionContext.Store concept from Jupiter but takes it to the Platform level. Moreover, it allows to reuse the same resource across multiple executions in a LauncherSession. We should advocate that resources stored in such a key-value store be immutable until their destruction. If such resources implement AutoCloseable they will get closed immediately before the LauncherSession they belong to is closed.
sbrannen, jbduncan, mpkorstanje, Strohgelaender, PinkFloyded and 5 moreYongjun-Hong