test

Run Kotlin Multiplatform Gradle test suites and report failures.

11|2|Updated Sep 8, 2015
One-click install
npx skills add https://github.com/jitrapon/astro-mobile --skill test-jitrapon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test
Source: https://github.com/jitrapon/astro-mobile/tree/main/.claude/skills/test
Command: npx skills add https://github.com/jitrapon/astro-mobile --skill test-jitrapon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes the manual effort of choosing, running, and interpreting project tests after a code change, helping you verify correctness before you move on.

Core Features & Use Cases

  • Command Selection: Chooses the right Gradle invocation for full test runs, filtered test runs, or freshly added test sources.
  • Cross-Platform Coverage: Supports JVM and Android unit tests, and can include iOS simulator tests when shared Kotlin code changes.
  • Failure Reporting: Summarizes failing tests, assertions, and exceptions so you can quickly understand what broke.
  • Use Case: After editing shared business logic in a Kotlin Multiplatform app, use this Skill to run the relevant tests and get a concise pass/fail summary.

Quick Start

Ask the skill to run the relevant tests for your recent code change and report the results concisely.

Frequently Asked Questions about test

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

FAQPage Schema
How do I run tests for Kotlin Multiplatform mobile code changes?

Run tests for Kotlin Multiplatform code changes by invoking Gradle test execution across JVM, Android, and iOS simulator targets to verify shared and platform-specific code correctness.

Does Gradle test execution support iOS simulator tests for shared Kotlin code?

Yes, Gradle test execution supports iOS simulator tests alongside JVM and Android unit tests when shared Kotlin code changes in a Kotlin Multiplatform mobile repository.

How do I run only newly added test sources in a Gradle project?

Run only newly added test sources by using Gradle test execution with fresh test-source detection and optional test filters to target specific test classes or methods.

What's the best way to report test failures after running a Kotlin Multiplatform test suite?

Report test failures by summarizing failing tests, assertions, and exceptions with runner output so you can quickly understand what broke after a code change.

Can I filter which tests run when verifying code changes in a Kotlin Multiplatform project?

Yes, you can apply optional test filters during Gradle test execution to run specific tests rather than the full suite when verifying code changes.

Why does my Gradle test run include iOS tests when I only changed JVM code?

Cross-platform coverage includes iOS simulator tests when shared Kotlin code changes, but you can use optional test filters to limit execution to JVM and Android targets only.