kotlin-mutation-testing

Identify under-tested Kotlin code via model-driven mutation testing.

6|Updated Jun 24, 2026
One-click install
npx skills add https://github.com/PL-Coding-GmbH/Skills --skill kotlin-mutation-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kotlin-mutation-testing
Source: https://github.com/PL-Coding-GmbH/Skills/tree/main/skills/kotlin-mutation-testing
Command: npx skills add https://github.com/PL-Coding-GmbH/Skills --skill kotlin-mutation-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill identifies under-tested production behavior in Kotlin projects by applying small mutations to the code and checking if the tests catch them, helping to improve test coverage.

Core Features & Use Cases

  • Mutation Testing: Modify production code and run tests to find untested paths.
  • Android, KMP, and JVM Support: Works on various Kotlin project types.
  • Use Case: When you want to ensure your Kotlin tests are robust and catch all potential issues, use this Skill to uncover any gaps in your test suite.

Quick Start

Run a mutation test on your Kotlin project by providing the test class path or fully qualified class name.

Frequently Asked Questions about kotlin-mutation-testing

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

FAQPage Schema
How do I find under-tested code in my Kotlin project?

Mutation testing finds under-tested code in Kotlin projects by applying small modifications to production code and running tests to verify if they catch the changes, exposing untested paths.

What is mutation testing and how does it verify test coverage?

Mutation testing is a technique that modifies production code with small mutations and runs tests to check if they fail, helping you detect under-tested behavior and improve test robustness in Kotlin projects.

Does mutation testing work with Android and Kotlin Multiplatform projects?

Mutation testing supports Android, KMP, and JVM Kotlin applications, allowing you to detect under-tested production behavior across various Kotlin project types.

How do I run a mutation test on a Kotlin class?

To run a mutation test, provide the test class path or fully qualified class name of your Kotlin project, and the testing tool will apply mutations and verify test coverage to uncover gaps.

Why does my Kotlin test suite pass but still miss production bugs?

Your tests may lack robustness if they do not catch small mutations applied to production code. Mutation testing exposes these gaps by modifying code and checking if tests detect the changes.