kotest - Write and migrate Kotlin tests with Kotest
Helps write, migrate, and improve Kotlin tests with Kotest, including specs, assertions, property testing, configuration, and multiplatform setup.
Tags
Updated: 2026-10-07Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Create Kotest test specs
- Configure Kotest dependencies
- Write assertion-based tests
- Migrate JUnit tests
- Migrate TestNG tests
- Migrate Spek tests
- Add property-based tests
- Configure lifecycle hooks
- Configure Kotest extensions
- Set up coroutine testing
- Configure multiplatform testing
- Run Kotest tests
- Troubleshoot Kotest issues
Inputs
- Gradle build files
- Version catalog
- Kotlin version
- Target platforms
- Existing test framework
- Kotlin test source
- ProjectConfig class
Outputs
- Kotest test code
- Build configuration changes
- Migration changes
- Test execution results
- Test failure reports
Requirements
- Kotlin 2.2+ for Kotest 6.x
- Kotest dependencies
- JUnit Platform for JVM runner
