TapConfig

data class TapConfig(val serials: List<String>, val artifactsDir: Path, val acquireTimeout: Duration, val pinnedRoles: Map<String, String>, val manageDaemon: Boolean = false, val capture: CaptureMode = CaptureMode.ON_FAILURE)(source)

Resolved once per JVM from system properties, falling back to environment variables named by envName (tap.artifactsDir → TAP_ARTIFACTS_DIR, tap.device.sender → TAP_DEVICE_SENDER).

Constructors

Link copied to clipboard
constructor(serials: List<String>, artifactsDir: Path, acquireTimeout: Duration, pinnedRoles: Map<String, String>, manageDaemon: Boolean = false, capture: CaptureMode = CaptureMode.ON_FAILURE)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

tap.capture: onFailure (default) captures every device of a failed test into artifactsDir; off captures nothing.

Link copied to clipboard

tap.manageDaemon: start the daemon before the first session and stop it after the run if this process started it.

Link copied to clipboard

Explicit role → serial pins (tap.device.<role>).

Link copied to clipboard

Serials roles map to, in order from a per-test rotating start; empty = whatever the server's device list offers.