Smart Kotlin unit testing with auto-detection, coverage analysis, and AI edge cases. Use when generating tests for biz/ layer classes, analyzing test coverage gaps, or discovering edge cases.
التثبيت
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Smart Kotlin unit testing with auto-detection, coverage analysis, and AI edge cases. Use when generating tests for biz/ layer classes, analyzing test coverage gaps, or discovering edge cases.
Kotlin Unit Test
Project-specific skill for intelligent Kotlin unit testing.
When to Use
Generating tests for business logic classes (biz/ layer)
Analyzing test coverage gaps
Discovering edge cases for existing code
Before writing new tests to understand what's missing
Workflow
Analyze class: python scripts/analyze_kotlin.py units <file.kt>
Write tests: Follow patterns in references/test-patterns.md
Script Commands
# Analyze single file - extract testable units
python scripts/analyze_kotlin.py units app/src/main/.../SomeClass.kt
# Analyze coverage gaps between source and test directories
python scripts/analyze_kotlin.py coverage app/src/main/java/.../biz app/src/test/java/.../biz