Skip to content

1.0.2

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Oct 22:16
· 1 commit to master since this release

Changelog:

Added:

  • A thenContinually window measured from the action. whenever(action.marking(moment)) records a Moment when the action completes, and thenContinually(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. The marking call stays out of the sentence when its argument is a Moment property or field (#243).

Fixes:

  • Sequence diagrams read in dark mode. A captureTimePassing label, 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 Store next to a plain participant Store declaration 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. CapturedInteractionBuilder minted 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).
  • @ExpandableRenderedValue works on a field or property. The annotation allowed FIELD and PROPERTY_GETTER targets 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 thenContinually block, 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.