You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The engine makes no guarantees when it instantiates extensions and how long it keeps instances around. This has a number of reasons:
It is not clear when and how extensions should be instantiated. (For each test? For each class? For each run?)
Jupiter does not want to bother tracking extension instances.
If extensions were to communicate with one another, a mechanism for exchanging data would be required anyways.
Hence, extensions have to be stateless. Any state they need to maintain has to be written to and loaded from the store that the extension context makes available.
The text was updated successfully, but these errors were encountered:
From JUnit 5 Extension Model:
The text was updated successfully, but these errors were encountered: