FailureRetention

@Incubating interface FailureRetention : EmulatorSnapshots


Options for configuring Android Test Retention.

When enabled, Android Test Retention automatically takes emulator snapshots on test failures.

Summary

Public properties

Boolean

This property is deprecated. Renamed to enableForTestFailures

Int

This property is deprecated. Renamed to maxSnapshotsForTestFailures

Inherited functions

From class EmulatorSnapshots
Unit

Call this function to take unlimited number of test failure snapshots (will ignore maxSnapshotsForTestFailures setting)

Public properties

enable

val enableBoolean

maxSnapshots

val maxSnapshotsInt