بنقرة واحدة
stack-kotlin-testing
Kotlin testing standards — Kotest, Mockk, JUnit 5
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Kotlin testing standards — Kotest, Mockk, JUnit 5
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Generate repository wiki pages mapping architecture, specs, and status. Trigger: orchestrator launches sdd-document.
Shared SDD references for installed skills. Not invokable.
Read-only generalist screening contract for selective 4R review.
Read-only targeted correction validator for a bounded review lineage.
Write SDD delta specs with requirements and scenarios. Trigger: orchestrator launches spec work for a change.
Create pull requests with branch, validation, and publication checks. Trigger: creating, opening, or preparing PRs for review.
| name | stack-kotlin-testing |
| description | Kotlin testing standards — Kotest, Mockk, JUnit 5 |
| license | Apache-2.0 |
| metadata | {"author":"manuel-retamozo-garcia","version":"1.0"} |
| capabilities | ["kotlin"] |
Comprehensive Kotlin testing patterns for writing reliable, maintainable tests following TDD methodology with Kotest and MockK.
StringSpec for simple, FunSpec for JUnit-like, BehaviorSpec for BDD) consistently across files.coEvery / coVerify for suspend functions. Clear mocks in beforeTest.runTest. For testing time-based flows, use StandardTestDispatcher and advance virtual time with advanceTimeBy or advanceUntilIdle.For full code examples, step-by-step TDD walkthroughs, custom matchers, arg captors, flow testing, property-based setups, and Ktor route testing, refer to: