Skip to content

2025

2.1.0 • checkThrows and stable resource management

Suite

  • Warn users that exceptions are printed after finalizers (#81, !150)
  • Added String.matches(String) for easier regex matching (#a9cb1224, !160)
  • Added checkThrows (#5e1653e1, !160)

Compat: Parameterize

  • Support Wasm (!145)
  • Support Parameterize 0.4.0 (Beware: possible binary incompatibilities, !152)

Compat: Arrow

  • Support WasmJS (!159)
  • Renamed assertRaises and assertRaisesWith to checkRaises (#d06de70f, !160)

Compat: KotlinX.Datetime

  • Deprecated the module (!148)

Compat: Filesystem

  • Stabilized the resource management APIs (#66, !157)

Documentation

  • Added copyright headers (!146)

Dependencies

  • Kotlin 2.2.0
  • Kotest 6.0.0.M4
  • TestBalloon 0.4.0

2.0.6 • Migration to TestBalloon, WASI support

Suite

  • Added support for Wasm WASI when running with TestBalloon (!143)

Runner: TestBalloon

  • Support all OpenSavvy-supported platforms (!143)
  • All modules are now tested with this runner instead of the Kotest runner (!143)

Compat: Arrow

  • Removed the @ExperimentalTraceApi on assertRaisesWith methods (!142)

Dependencies

  • Kotlin 2.1.21
  • KotlinX.Coroutines 1.10.2
  • KotlinX.Datetime 0.6.2
  • Arrow 2.1.2
  • Gradle TestKit 8.11.1
  • Ktor 3.1.3
  • TestBalloon 0.3.3

2.0.3 • Experimental TestBalloon support

TestBalloon Runner

TestBalloon is a new test framework for Kotlin that empowers much more lightweight DSLs and promises easier updates. In this release, we add experimental support (!134) for the very first TestBalloon release.

Once the TestBalloon IntelliJ plugin is released, TestBalloon will likely become the primary target for Prepared.

2.0.0 • Arrow 2, Ktor 3, Java 11, random and context cleanup

Breaking changes

The CoroutineContext becomes part of the test configuration

Replace:

test("Foo", yourCoroutineContext) {
    // your test
}
by:
test("Foo", Context(yourCoroutineContext)) {
    // your test
}

Random generation

All random generation methods have been moved from package opensavvy.prepared.suite to opensavvy.prepared.suite.random. Users will need to update all imports to these functions, but they are otherwise unchanged (#48, !113).

Other changes

Runners

  • First prototype of the Kotlin Test Initiative runner (!114)

Compatibility modules

  • Supports Ktor 3 (!109)

Documentation

  • Fixed documentation of the Truthish library (!111)
  • The documentation website now contains the API reference (!119)
  • The documentation website now contains the News section

Dependencies

  • Downgraded minimal JDK requirement from 21 to 11 (!123, thanks Dave A.!)
  • Kotlin 2.1.10
  • KotlinX.Coroutines 1.10.1
  • Ktor 3.0.3
  • Arrow 2.0.0