Class

TestContext

Provides storage of test related entities that must be accessible by anything other than ComposeUiTest and friends, for example the InputDispatcher or the implementation of some assertions and actions.

Source set: Common
public class TestContext internal constructor(
    internal val testOwner: TestOwner,
    internal val boundsAssertionTolerance: Dp = Dp.Unspecified,
)

Provides storage of test related entities that must be accessible by anything other than ComposeUiTest and friends, for example the InputDispatcher or the implementation of some assertions and actions.

Content updated: