Skip to content

News

1.3.1 • Kotest fixes and assertion library documentation improvements

Kotest runner

  • Support Focus and Bang (#62, !88)
  • Stop crashing on KJS (#59, !89)
  • Document which Kotest features are configured by Prepared (#d87da612, !88)

Documentation

Dependency upgrades

  • Kotest 5.9.1

1.2.0 • Randomness fixes, documentation website, Kotlin 2.0.0

Suite

  • Fixed randomBoolean() which returned an Int (#1a324a04, !74)
  • Fixed all randomXXX() functions, which ignored the configured seed (#bd9348d0, !74)
  • Fixed the random seed being displayed as 'null' in the standard output even when set (#c1bc163d, !74)
  • Fixed low-risk race condition in which prepared values where instantiated more than once (#21004559, !74)

Kotest runner

  • Add a dependency on kotest-assertions (!70)

Documentation

  • Create the Prepared website (#47, !72)

Dependencies

1.0.0 • Stabilization

Suite

  • More concise Shared.toString() and Prepared.toString() (#a524c5ac, !47)

Parameterize compatibility

  • Parameterize 0.3.0 (#30, !47)
  • Easily declared Prepared instances from parameterize variables (#30, !47)

Arrow compatibility

Gradle compatibility

  • Stop injecting Kotlin and Groovy in inline build scripts (#4b1be0fa, !59)
  • Automatically create project directories when build scripts are created (#70a6c855, !43)

Kotest runner

  • Kotest 5.8.1 (#72a9b8fe, !37)
  • Reuse Kotest's coroutine scope to avoid JS tests never finishing (#12, !37)

Warning: at this point, it is unclear whether JS tests run or not. Please visit #44 for more information.

1.0.0-rc.1 • Ktor, Parameterized and iOS support, test tagging and stable kotlin-test on JS

Suite

  • Document that advanceUntilIdle ignores background tasks (#37, !44)
  • Fixed an incorrect example for the class Ignored (#ff6de16a, !45)
  • Allow test tagging (#757882ff, !45)
  • iOS support (#35, !42)

Breaking: - TestConfig instances can now allow being specified multiple times (#ad5cbade, #28, !45) - Finalizers can now decide whether they are executed depending on test outcome (#79d664b3, #41, !49)

Compat: Arrow

Compat: Filesystem

  • Temporary files and directories are not deleted anymore when tests fail (#76fe7a70, #41, !49)

Compat: Parameterized

  • Create this module to expose the Parameterized library to Prepared tests (#30, !43)

Compat: Ktor

  • Create this module to interoperate with the Ktor Test Host (#42, !51)

Runner: Kotest

  • Prepared test tags are now visibly by the Kotest runner (#757882ff, !45)
  • Introduce PreparedSpec (!50)
  • iOS support (#35, !42)

Runner: Kotlin-test

  • Complete rewrite for the JS platforms, which now use officially-supported means of declaring tests dynamically (#38, !54)
  • iOS support (#35, !42)

Build and deployment

  • The project is now based on the Gradle Playground, like all our other projects (!38)
  • Removed the unused 'framework' module (#36, !41)

Dependencies

0.6.0 • Shared values, user guides and examples

Suite

  • Helper to share values between all tests (#32, !34)

KotlinX.Datetime compatibility

java.time compatibility

  • Split into its own module (was previously in Suite's jvmMain) (#34, !35)

Arrow compatibility

  • Allow using failOnRaise outside the Test DSL (!33)
  • Added assertRaises and variants (!33)
  • Added examples to most functions (#e2b8f421, !33)

Filesystem access

  • Shorter names for children files (#29, !32)

Kotlin-test runner

  • When nested suites are unnested on JS, embed the relationship in the name so it isn't lost (#0f3b4578, !33)
  • Added a guide to explain how to configure, and listed downsides (#26, !33)

Kotest runner

  • Added a guide to explain how to configure, and listed downsides (#26, !33)

Documentation

  • Module-level documentation for all modules (#20, #26, !33)