kotlin-testing-kmp

Review Kotlin Multiplatform test suites against structured testing guidelines.

1|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/huneyoliv/ubus-ui --skill kotlin-testing-kmp-huneyoliv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kotlin-testing-kmp
Source: https://github.com/huneyoliv/ubus-ui/tree/main/.agents/kotlin-testing-kmp
Command: npx skills add https://github.com/huneyoliv/ubus-ui --skill kotlin-testing-kmp-huneyoliv

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill unit addresses the challenge of designing, implementing, and reviewing tests in Kotlin Multiplatform (KMP) projects, ensuring robust, efficient, and maintainable test suites.

Core Features & Use Cases

  • Test Strategy: Provides guidelines for test strategy, including the testing pyramid, behavior over implementation detail, and scope review dimensions.
  • Test Defaults: Offers recommendations for default test configurations and best practices.
  • KMP-Specific: Focuses on KMP-specific testing considerations, such as shared-vs-platform test placement, state-holder and flow testing, and repository/mapping testing.
  • Severity Framework: Categorizes issues based on severity (high, medium, low) to help prioritize improvements.
  • UI Testing Guidance: Delivers insights on UI testing, including validating behavior and the use of screenshot testing.

Quick Start

Run the 'kotlin-testing-kmp' skill to review your KMP project's test suite and receive structured feedback on its structure, features, and potential improvements.

Frequently Asked Questions about kotlin-testing-kmp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a test strategy for Kotlin Multiplatform projects?

To implement a KMP test strategy, organize tests using a testing pyramid, validate behavior over implementation details, and utilize a severity framework to prioritize issue resolution across shared and platform-specific modules.

How should I handle platform-specific testing in a KMP codebase?

Handle platform-specific testing in KMP by strategically dividing tests between shared and platform modules, ensuring that state-holder and flow testing accurately reflect the targeted platform behaviors.

What is the best way to test flows and state holders in Kotlin Multiplatform?

The best way to test flows and state holders in Kotlin Multiplatform is to validate their behavior specifically within the shared module, while also verifying repository and mapping layers for accurate data transformation across platforms.

Does Kotlin Multiplatform testing guidance include UI and screenshot tests?

Yes, Kotlin Multiplatform testing guidance includes UI testing by validating user behavior and recommends incorporating screenshot testing to capture visual regressions and ensure consistent interface rendering across platforms.

How do I review and prioritize issues in a KMP test suite?

Review and prioritize issues in a KMP test suite by applying a severity framework that categorizes test deficiencies into high, medium, and low severity to guide structural improvements and maintainability.