Start native apps faster with the Composables CLI ->
Class

TestFailurePolicy.CaptureMode

Represents a tri-state flag for failure artifact captures, allowing individual test configurations to explicitly override or fall back to suite-level runner arguments.

Source set: Common
public class CaptureMode private constructor(private val value: Int)

Represents a tri-state flag for failure artifact captures, allowing individual test configurations to explicitly override or fall back to suite-level runner arguments.

This is used within TestFailurePolicy to dictate whether the test framework should capture diagnostic artifacts (like screenshots or UI hierarchy dumps) when a test fails.

Members

Companion

Source set: Common
public companion object

Properties

Unspecified

Source set: Common
public val Unspecified: CaptureMode

Fall back to the suite-level runner configuration.

Enabled

Source set: Common
public val Enabled: CaptureMode

Explicitly enable the capture for this test, overriding runner configuration.

Disabled

Source set: Common
public val Disabled: CaptureMode

Explicitly disable the capture for this test, overriding runner configuration.