Test Structure Analysis

Community

Understand test coverage at a glance.

Authoropenshift-eng
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Analyze test code structure directly from Go test files without running tests to identify coverage gaps and untested areas.

Core Features & Use Cases

  • Discover test and source files based on Go conventions
  • Parse test files to extract tests, line ranges, targets, and test types
  • Parse source files to enumerate functions, methods, and types
  • Map tests to source code and identify coverage gaps
  • Generate HTML, JSON, and text reports under .work/test-coverage/analyze/

Quick Start

Run the skill against a file or directory: /test-coverage:analyze <path-to-test-or-dir>

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Test Structure Analysis
Download link: https://github.com/openshift-eng/ai-helpers/archive/main.zip#test-structure-analysis

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.