Skip to main content

coverage-summary

Runs kueue-operator unit tests with coverage and produces a comprehensive Markdown report covering package and function coverage, E2E test inventory, gaps, findings, and recommendations. Use when asked for a coverage report, summary, or analysis.

معلومات المصدر

المستودع
openshift/kueue-operator
آخر نشاط في المصدر
١١ سبتمبر ٢٠٢٦ في ١٩:٤٣
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٩
التفرعات
٢٩

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
coverage-summary
description
Runs kueue-operator unit tests with coverage and produces a comprehensive Markdown report covering package and function coverage, E2E test inventory, gaps, findings, and recommendations. Use when asked for a coverage report, summary, or analysis.
user-invocable
true
Run the unit tests with coverage and generate a comprehensive summary report. Execute the following steps: 1. Run unit tests with coverage: ```bash go test -mod=vendor -coverprofile=coverage.out -covermode=atomic ./pkg/... 2>&1 | tee /tmp/test_output.txt ``` 2. Get the overall coverage percentage: ```bash go tool cover -func=coverage.out | tail -1 ``` 3. Generate and display a comprehensive coverage summary that includes: **Overall Coverage** - Total statement coverage percentage **Unit Test Coverage** - List packages with tests and their coverage percentages - Categorize by coverage level (High ≥90%, Medium 80-89%, Low <80%) - List packages with 0% coverage - Distinguish between core packages and generated code **E2E Tests** - Count and list E2E test files - Show file sizes for major test files **Detailed File Coverage** - Show function-level coverage for tested packages **Test Commands** - Document available test commands (unit, e2e, disruptive, etc.) **Key Findings** - Strengths: What's well-tested - Critical Gaps: What needs tests - Recommendations: Priority improvements **Summary Statistics** - Total packages scanned - Percentage with tests - Percentage with 0% coverage - Generated code packages vs core logic packages Format the output as a clear, well-structured markdown report with tables, bullet points, and sections.
عرض على GitHub