kotest-testing - Guide Kotlin and Android testing with Kotest
Guides unit and integration testing for Kotlin and Android, including test styles, assertions, property testing, coroutines, ViewModels, and Compose UI.
Tags
Updated: 2026-10-02Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Configure Kotest dependencies
- Define Kotest test styles
- Write assertions
- Mock synchronous calls
- Mock coroutine calls
- Test coroutine behavior
- Generate property tests
- Test ViewModels
- Test Compose UI
Inputs
- Kotlin source code
- Android source code
- Test requirements
- Gradle build configuration
- ViewModel behavior
- Compose UI behavior
Outputs
- Kotest test code
- Gradle test configuration
- Test assertions
- Mocking definitions
- Property test cases
- Test execution results
Requirements
- Kotlin project
- Kotest dependencies
- JUnit 5 platform
- MockK for mocking
- Kotest property module for property testing
- Android test environment for Android tests
