public class ComposeUiTestConfig
Defines the configuration requirements for a Compose test environment.
This configuration allows for fine-grained control over the test execution environment, including the coroutine contexts used for composition and test execution, the overall test timeout, and the initial input mode.
public class ComposeUiTestConfig(
effectContext: CoroutineContext = EmptyCoroutineContext,
runTestContext: CoroutineContext = EmptyCoroutineContext,
testTimeout: Duration = 60.seconds,
inputMode: InputMode = InputMode.Touch,
failurePolicy: TestFailurePolicy = TestFailurePolicy(),
boundsAssertionTolerance: Dp = Dp.Unspecified,
)
Defines the configuration requirements for a Compose test environment.
This configuration allows for fine-grained control over the test execution environment, including the coroutine contexts used for composition and test execution, the overall test timeout, and the initial input mode.
Properties
effectContext
public val effectContext: CoroutineContext
runTestContext
public val runTestContext: CoroutineContext
testTimeout
public val testTimeout: Duration
inputMode
public val inputMode: InputMode
failurePolicy
public val failurePolicy: TestFailurePolicy
boundsAssertionTolerance
public val boundsAssertionTolerance: Dp