kta-unit-test

Analyzes Kotlin source files and detects unit test coverage gaps.

4|Updated May 7, 2026
One-click install
npx skills add https://github.com/dantech0xff/dreams --skill kta-unit-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kta-unit-test
Source: https://github.com/dantech0xff/dreams/tree/main/.agents/skills/kta-unit-test
Command: npx skills add https://github.com/dantech0xff/dreams --skill kta-unit-test

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Streamlines the process of creating Kotlin unit tests by auto-detecting testable units, evaluating coverage gaps, and surfacing edge-case considerations.

Core Features & Use Cases

  • Auto-detect test targets in Kotlin sources
  • Compute coverage gaps between source and tests
  • Reference edge-case discovery prompts and test-pattern templates

Quick Start

Paste a Kotlin file path and run the unit-test analysis to generate a starter test plan.

Frequently Asked Questions about kta-unit-test

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

FAQPage Schema
How do I generate Kotlin unit tests for business-logic code?

You can generate Kotlin unit tests by analyzing source files to auto-detect test targets and computing coverage gaps between source and test directories. The Skill uses local Python scripts and references to drive deterministic test generation.

How does automated coverage gap detection work for Kotlin tests?

Coverage gap detection works by analyzing Kotlin sources and checking existing test directories to compute missing test coverage. It surfaces edge-case discovery references and test-pattern templates to help craft robust tests.

What is the best way to find edge cases for Kotlin unit testing?

Finding edge cases involves referencing edge-case discovery prompts and test-pattern templates during the unit test analysis workflow. These references surface considerations for crafting robust tests and filling coverage gaps in business-logic code.

Do I need any specific testing framework to run the generated Kotlin tests?

No specific testing framework is required as a dependency. The Skill operates using only the local Python environment, reading its internal scripts and references to drive deterministic test generation and analysis.

Can I analyze existing Kotlin test directories to find missing coverage?

Yes, you can analyze existing test directories by checking coverage against Kotlin sources. The workflow computes coverage gaps and auto-detects testable units to provide a comprehensive starter test plan.