Skip to content

News

2.5.2 • Improved failure assertions output, removed false negative warning, dependency upgrades

Suite

  • Failed exception assertions are now displayed on two lines (a2c31ce9, !226)
  • Do not warn when a prepared value is called but unused (!233)

Kotest runner

  • Kotest 6.1.11 support (#96, !228)

TestBalloon runner

  • TestBalloon 0.8.4 support (!231)

Arrow compatibility

  • Failed Raise assertions are now displayed on two lines (ea498f5a, !226)

Deployment

  • Apple Intel-based targets are no longer published, because they are deprecated (7ddf7e10)

2.4.0 • Conditionally ignore tests and better stack traces for fixtures

Suite

  • Exceptions in fixtures are wrapped by an AssertionError to facilitate understanding the failure path (!205)
  • Added Ignored.If and OnlyIf to conditionally ignore tests (!206)

Gradle compatibility

  • Fixed a bug in gradle.properties() (!209)

KotlinX.Datetime compatibility

The :compat-kotlinx-datetime module has been deleted. All its functionality has already been moved to :suite using the kotlin.time package multiple releases ago.

The module is still available on MavenCentral but will not be updated in the future.

2.3.1 • Kotlin 2.3.0, Gradle properties and longer default timeout

Suite

  • Increased the default test timeout from 10s to 60s (!192)

Gradle compatibility

  • Added a helper to write gradle.properties in tests (!197)

TestBalloon runner

Added support for TestBalloon 0.8.2.

Note that TestBalloon 0.8.0 had a breaking change, so this version of Prepared is not compatible with older TestBalloon versions. Your codebase should not be affected.

Kotest runner

Added support for Kotest 6.1.3.

Note that Kotest 6.0.2 had a breaking change that was later rolled back, so this version of Prepared is not compatible with Kotest 6.0.2. Your codebase should not be affected.

Dependencies

  • Kotlin 2.3.0

2.2.0 • Improved test logging, Kotest 6 and TestBalloon 0.7.1

Suite

  • Prepared and shared values now log how long they took to initialize (!177)
  • Finalizers run even when the test is cancelled (e.g. because of a timeout, !177)
  • Added the 'log' function to display information about an intermediate value (16df295b, !180)

Kotest runner

  • Kotest 6.0.4 support. Note that the Kotest configuration has changed, it now requires configuring KSP (ac719a00)
  • Added support for WASI
  • Removed workaround for Kotest#4077 (#59, !185)

TestBallooon runner

  • TestBalloon 0.7.1 support
  • Force the dependency on the Kotlin-test library. This may help when TestBalloon doesn't release new versions for new versions of Kotlin (6fbce77c)

Dependencies

  • Kotlin 2.2.20

2.1.2 • DebugProbes, TestBalloon IntelliJ plugin and JDK 11+ for all runners

Suite

  • On the JVM, coroutine DebugProbes are enabled automatically to log ongoing coroutines at the end of a test (#45, #87, !172)
  • Added the @TestEntrypoint annotation (72ea802d)

TestBalloon runner

  • The default timeout is now 10s instead of 1m, like the other runners (e17b8ad2)
  • Now compatible with JDK 11+ (previously 17+, 614e9963)

Documentation

  • Added more features to the highlight section of the home page (e4bb5f82)
  • Simplified the Atrium description (bbe1c05d)
  • Added an explanation to configure the IntelliJ TestBalloon plugin (5c8b653b)