Skip to content

kotest/kotest-extensions-spring

Repository files navigation

kotest-extension-spring

Kotest extension for Spring.

See docs.

Please create issues on the main kotest board.

Build Status GitHub kotest @ kotlinlang.slack.com

Compatibility

The current version, 1.1.3, is confirmed to be compatible with Spring Boot 3, Kotest 5.6 and Kotlin 1.8.

See the kotest-examples-spring-webflux project for an example where this extension is used with the most up-to-date versions of Kotest and Spring Boot.

Changelog

1.2.0

  • Updated to use Kotest 5.7 and Kotlin 1.8

1.1.3

Maintenance release, only updating dependencies

  • Gradle 7.6.1
  • Spring 5.3.27
  • Kotest 5.5.5
  • byte-buddy 1.14.4

1.1.2

  • Fix for Kotest 5.4. Safe to use on all on 5.x versions.

1.1.1

  • Dynamic tests, for instance using withData, now invokes Spring's Test Context before/after between each test case.

1.1.0

  • Requires Kotest 5.0 and Kotlin 1.6
  • Deprecated SpringListener removed
  • Supports isolation modes

1.0.1

1.0.0

  • Deprecated SpringTestListener in favour of SpringTestExtension
  • Migrated from the main Kotest repo to a standalone repo.