
Description
kotlin-testing is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It sets out Kotlin testing patterns for reliable, maintainable tests written with Kotest and MockK, following a TDD method. Its topics include coroutine testing, property-based tests, and code coverage with Kover. The skill applies when writing new Kotlin functions or classes, adding coverage to existing Kotlin code, creating property-based tests, following a TDD workflow in a Kotlin project, and setting up Kover for coverage reporting. Because it is a SKILL.md file of instructions, the agent loads it for those tasks and applies the same test structure each time. It is free and open source, and the skills.sh listing shows all three security audits passing.…
Highlights
- Kotest and MockK test patterns
- Coroutine and property-based testing
- Kover coverage configuration
- TDD workflow for Kotlin
Ratings & Reviews
No ratings yet
Be the first to rate kotlin-testing.
People also visit

migrate-to-shoehorn
Migrate test files from `as` type assertions to @total-typescript/shoehorn

android-clean-architecture
Clean Architecture patterns for Android and Kotlin Multiplatform projects

benchmark-optimization-loop
Convert 'make it faster' requests into a bounded measured optimization loop

compose-multiplatform-patterns
Compose Multiplatform and Jetpack Compose patterns for KMP projects
kotlin-testing FAQ
What does the kotlin-testing skill do?
It guides an agent in writing Kotlin tests with Kotest and MockK, following TDD, including coroutine and property-based tests.
How is coverage measured?
The skill covers configuring Kover for code coverage.
Which mocking library does it use?
MockK.
How do I install it?
Run: npx skills add https://github.com/affaan-m/ecc --skill kotlin-testing
Is it free?
Yes. It is free and open source.
Are there security findings?
The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.
What are the best kotlin-testing alternatives?
Popular alternatives to kotlin-testing include migrate-to-shoehorn, tdd and ai-regression-testing. See all kotlin-testing alternatives