Kotest extensions for TestContainers.
See docs.
Please create issues on the main kotest board.
- Version updates
- Updated spec and test callbacks to be suspendable.
- Updated test containers to 1.17.0
- Added
SharedJdbcDatabaseContainerExtension
andSharedTestContainerExtension
which can be used to lazily share a single test container across a module.
- Improves the handling of
dbInitScripts
. Will now accept absolute or relative paths, for local or classpath resources.
- Adds new config option
dbInitScripts
on theJdbcTestContainerExtension
config lambda. This option accepts a list of.sql
files or folders (with .sql files, sorted lexicographically) to run after the container is started.
- Requires Kotest 5.0.2 or higher
- Adds
JdbcTestContainerExtension
as a new extension - Adds
TestContainerExtension
as a new extension
- Released for test containers v1.16.0
- Migrated from the main Kotest repo to a standalone repo.