TestResourceScope
A scope to combine Arrow's ResourceScope with Prepared's TestDsl.
This scope is used within tests that declare resources.
Resources declared in this scope are released at the end of the test.
Instances of this type can be obtained:
As a test fixture with preparedResource
Directly, with resourceScope (useful for passing the test lifecycle to a component)
Additionally:
The install functions allows binding a resource directly within a test.
The asPrepared function converts a Resource into a Prepared value, Prepared's equivalent concept.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Allows accessing the test lifecycle as an Arrow's ResourceScope.