Repository navigation
Changelog:
Added:
- A
thenContinuallywindow measured from the action.whenever(action.marking(moment))records aMomentwhen the action completes, andthenContinually(5.seconds since moment)polls only the time left of that window, failing if it has already passed. From Java,moment.remaining(Duration). Assertions between the action and the window no longer eat into it. Themarkingcall stays out of the sentence when its argument is aMomentproperty or field (#243).
Fixes:
- Sequence diagrams read in dark mode. A
captureTimePassinglabel, the Test group label and the Setup group box kept PlantUML's black text or light fill on the dark background (#255). - A primary participant keeps its shape. A primary such as
database Storenext to a plainparticipant Storedeclaration lost its shape; it now replaces the declaration's shape in place, keeping its box, alias and colour (#234). - Builder-captured interactions get stable ids.
CapturedInteractionBuilderminted a random id per interaction, so reports differed run to run and a golden could not pin them. Ids now count up within each test (#232). - Interactions in the same millisecond keep their order.
CapturedInteractionBuilder.with(Instant)truncated to epoch millis, so two hops captured within one millisecond from different sources could draw in the wrong order. The Instant's full precision now orders the diagram (#260). @ExpandableRenderedValueworks on a field or property. The annotation allowedFIELDandPROPERTY_GETTERtargets but only a method took effect. An annotated field or property now renders as an expandable value, in Kotlin and Java, for the default and tabular styles (#230).- A nested And or But takes its sentence's keyword colour. Inside a multi-line sentence such as a
thenContinuallyblock, every keyword after the first rendered in the plain text colour. Each And or But now takes the colour of the nearest Given, When or Then before it (#268).
Changed:
- Kotest 6.2.6. Dependency bumps; no API changes. Also Byte Buddy 1.18.16, Selenium 4.51.0, Gradle 9.8.2.