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
TestBalloon runner
- TestBalloon 0.8.4 support (!231)
Arrow compatibility
Deployment
- Apple Intel-based targets are no longer published, because they are deprecated (7ddf7e10)
2.5.1 • Dependency upgrades & documentation improvements
Documentation
- Links now point to the new Reference tab (!225)
- Fixed formatting in the Arrow Resource page (!223)
- Removed to the code samples with KotlinX.Datetime (since everything has been migrated to the Kotlin stdlib, #94, !225)
Dependencies
- Kotest 6.1.7
- Gradle 9.4.1
2.5.0 • Arrow Resource compatibility
Arrow compatibility
Documentation
- Improved the title of most pages (!221)
2.4.1 • Stable time control, Kotlin 2.3.10 support
Suite
- Removed the
@ExperimentalTimeannotation (a32c56a7) - Added color highlighting in IntelliJ for the 'matches' RegEx assertion (8a661b7d)
- Clarified the documentation on
Ignored.Ifand its relationship with TestBalloon (!212)
Dependencies
- Kotlin 2.3.10
- Kotest 6.1.4
- TestBalloon 0.8.3
- Gradle 9.3.1
- Arrow 2.2.1.1
- Parameterize 0.4.1
2.4.0 • Conditionally ignore tests and better stack traces for fixtures
Suite
- Exceptions in fixtures are wrapped by an
AssertionErrorto facilitate understanding the failure path (!205) - Added
Ignored.IfandOnlyIfto 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.propertiesin 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.3.0 • Derived prepared values, more platforms for Ktor
Suite
- Added
prepared {}.flatMap {}(!186)
Compat: Gradle
- Added
.dirand.buildDirextensions on prepared values to facilitate accessing fields of a Gradle project (!186)
Compat: Ktor
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
@TestEntrypointannotation (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)