Skip to content

News

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)

0.3.0 • Randomness control, filesystem control and better logging

Test API

  • Prepared values log their actual values to the test output (#17, !19)
  • Improved logging for finalizers (!19)
  • Document the usefulness of PreparedProvider (#19, !20)
  • Generate random values, and reproduce previous test executions by generating the same random values (#24, !26)
  • Made the name of prepared values public (#63f52eb1, !23)

Runners

  • The Kotest runner now exposes the Kotest engine (#15, !17)

Compatibility modules

  • Utilities to create temporary directories and files with java.io and java.nio (#21, !23)

Build and deployment

  • Switch from Dokka to Dokkatoo