Open Michael1993 opened 5 months ago
I'm a bit confused by the example/idea: Do the classes of the @Shared
resources be the same or can be different. I guess they can be whatever they want?
Yeah, if they have different names and/or factory classes, they can be whatever.
I think this should be a relatively simple addition. Currently, our documentation says:
But I think we can support it with something like this:
We would create the resource before the tests and then just take it from the class-scoped
ExtensionContext.Store
. This does not solve (of course) how to share resources with parameters that haveScope.GLOBAL
.