FaultyLoom
A Loom wrapper that constructs FaultySeam instances.
A defaultProfile applies to every link the factory creates. Individual links can override their profile via FaultySeam.setFaultProfile.
defaultTeardownFault is the same idea on the orthogonal teardown axis, overridable per-link via FaultySeam.setTeardownFault.
Useful for fault scenarios where all links should start partitioned or delayed, then selectively healed per-peer.
scope must be a CoroutineScope that outlives the test — the standard pattern is to pass the kotlinx.coroutines.test.TestScope from runTest.
Constructors
Properties
All FaultySeam instances created so far, in creation order.
Functions
The delegate's verdict, verbatim — including when a defaultProfile partitions every link.
Apply profile to every link the factory has created so far.
Apply fault to every link the factory has created so far.