Compatibility with Arrow • opensavvy.prepared.compat.arrow.coroutines • resourceScope
resourceScope¶
fun TestDsl.resourceScope(): TestResourceScope
Allows accessing the test lifecycle as an Arrow's ResourceScope.
Resources installed in the returned scope are released at the end of the test.
External resources¶
See also¶
-
TestResourceScopeOverview of Prepared and Arrow's compatibility. -
preparedResourceInstall multiple resources into a Prepared value. -
asPreparedConvert aResourceinto a Prepared value.