test-failure-investigator

Parse test result XML files and logs to diagnose failing unit tests.

25|5|Updated Jun 15, 2024
One-click install
npx skills add https://github.com/OreStudio/OreStudio --skill test-failure-investigator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-failure-investigator
Source: https://github.com/OreStudio/OreStudio/tree/main/.claude/skills/test-failure-investigator
Command: npx skills add https://github.com/OreStudio/OreStudio --skill test-failure-investigator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Investigate unit test failures by parsing results and analysing logs to identify root causes.

Core Features & Use Cases

  • Structured failure analysis: parse test result XML files and aggregate failing tests with relevant logs.
  • Targeted debugging workflow: guide users through enabling logging, running specific test suites, and examining per-test details.
  • Use Case: When CI reports failing tests, this skill provides a repeatable investigation workflow to isolate the failing component.

Quick Start

Use the test-failure-investigator skill to parse your build's test-results XML and logs to identify root causes.

Frequently Asked Questions about test-failure-investigator

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

FAQPage Schema
How do I diagnose failing unit tests from CI build logs?

To diagnose failing unit tests from CI build logs, you parse test result XML files and aggregate the failing tests with relevant logs to isolate root causes. This structured failure analysis provides actionable diagnostics for the failing component.

What is the best way to parse test results and analyze per-test logs?

The best way to parse test results and analyze per-test logs is using a structured workflow that aggregates failing tests from XML output. This approach surfaces actionable diagnostics by examining per-test and per-suite details across multiple components.

How do I enable verbose logging to investigate a failing test suite?

To enable verbose logging for investigating a failing test suite, follow a targeted debugging workflow that guides you through activating logging, running specific test suites, and examining detailed per-test results to isolate the failure.

Do I need specific build tooling to run tests for log analysis?

Yes, you need standard build tooling like cmake and test targets to run tests for log analysis. Accessing a parse_test_results.py utility is also required to parse the test-results XML and surface actionable diagnostics.

Can I use this workflow to investigate failures across multiple components?

Yes, you can use this workflow to investigate failures across multiple components. It analyzes per-test and per-suite results across your build, providing a repeatable investigation workflow to isolate the specific failing component.

Why does my CI report failing tests without clear error details?

CI reports failing tests without clear error details when logs are not properly aggregated with test results. Parsing test result XML files and enabling verbose logging during test execution surfaces the actionable diagnostics needed to identify root causes.