testing-expert

Design and maintain Kotlin Multiplatform tests with established patterns and templates.

Updated Jan 11, 2025
One-click install
npx skills add https://github.com/shaharKeisarApps/MoviesAndBeyond --skill testing-expert-shaharkeisarapps
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-expert
Source: https://github.com/shaharKeisarApps/MoviesAndBeyond/tree/main/.claude/skills/testing-expert
Command: npx skills add https://github.com/shaharKeisarApps/MoviesAndBeyond --skill testing-expert-shaharkeisarapps

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Elite KMP testing expertise covering unit tests, presenter testing with Turbine, screenshot tests with Compose Preview Testing/Roborazzi/Paparazzi, repository tests, and test architecture. Use when writing tests, designing test strategies, setting up test infrastructure, or debugging test failures. Triggers on test creation, test patterns, fake implementations, or test infrastructure questions.

Core Features & Use Cases

  • Unit Testing Guidance: Provide proven patterns for writing reliable unit tests across Kotlin Multiplatform modules.
  • UI & Presenter Testing: Guidance for testing presenters with Turbine and validating UI state transitions.
  • Screenshot Testing: Strategies for Compose Preview, Roborazzi, and Paparazzi to ensure visual correctness.
  • Test Architecture: Templates for test doubles, fake repositories, and scalable test infrastructure.

Quick Start

Use the testing-expert skill to scaffold a test strategy for a Kotlin Multiplatform feature, or request an example test template for a new module.

Frequently Asked Questions about testing-expert

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

FAQPage Schema
How do I write unit tests for Kotlin Multiplatform modules?

Unit testing for Kotlin Multiplatform modules requires established patterns and realistic test doubles to ensure reliable coverage. This skill provides proven templates for writing unit tests that scale across shared KMP architecture and module boundaries.

What's the best way to test presenter state with Turbine in KMP?

Testing presenter state with Turbine in KMP involves validating UI state transitions and flow emissions. This skill provides guidance for testing presenters with Turbine to ensure robust state management and accurate reactive stream validation.

How do I set up screenshot testing with Roborazzi and Paparazzi?

Screenshot testing with Roborazzi and Paparazzi validates visual correctness for Compose UI components. This skill provides strategies for implementing Compose Preview testing and capturing screenshot tests to prevent visual regressions across KMP modules.

Can I use fake repositories for architecture testing across KMP modules?

Fake repositories can be used for architecture testing across KMP modules by providing realistic test doubles. This skill offers templates for test doubles and scalable test infrastructure to maintain high coverage across complex module dependencies.

Does this testing approach support screenshot tests for Compose Previews?

Yes, screenshot testing for Compose Previews is fully supported alongside Roborazzi and Paparazzi integrations. This skill provides strategies to validate visual correctness and ensure UI components render correctly across different device configurations.