llt-parse

Parse Catch2 XML reports and console logs into an LLT JSON envelope.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/ai-sand-castles/local-marketplace --skill llt-parse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llt-parse
Source: https://github.com/ai-sand-castles/local-marketplace/tree/main/test-automation-plugin/skills/llt-parse
Command: npx skills add https://github.com/ai-sand-castles/local-marketplace --skill llt-parse

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires llt-common/SKILL.md, llt-parse/scripts/catch2_xml_parser.py, llt-parse/scripts/console_log_parser.py, and includes scripts (resource) components.

What problem does it solve?

Parse Catch2 test results from XML reports and console logs into a unified, structured payload for automated dashboards, reporting, and QA analysis.

Core Features & Use Cases

  • XML parsing: detects and extracts test cases from Catch2 XML formats (JUnit-style, native v3, and v2) and captures status, duration, and failure details.
  • Console log parsing: extracts results from Catch2 console output with best-effort accuracy.
  • Result merging: prioritizes XML results when both sources are available and deduplicates by test name.
  • Output schema: returns a standard LLT envelope with statistics, test_results, and sources.

Quick Start

Supply the Catch2 XML report path and/or the console log path to generate the LLT results payload.

Frequently Asked Questions about llt-parse

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

FAQPage Schema
How do I parse Catch2 test results from XML and console logs?

To parse Catch2 test results, supply the XML report path and/or console log path. The parser auto-detects Catch2 XML formats and extracts console output, merging both into a standard LLT JSON envelope with overall statistics and detailed test cases.

What Catch2 XML report formats are supported for automated test parsing?

Supported Catch2 XML report formats include JUnit-style, native v3, and v2. The parser auto-detects the specific XML schema during processing to accurately extract test status, duration, and failure details.

How do I convert Catch2 console output into structured JSON for dashboards?

You can convert Catch2 console output into structured JSON by providing the console log file. The parser performs best-effort extraction of test results from the text, generating a payload suitable for QA reporting and automated dashboards.

Can I merge Catch2 XML and console test results without duplicating test cases?

Yes, when both XML and console sources are provided, the parser merges results while prioritizing XML data. It deduplicates test cases by test name to ensure a single, accurate record per test in the final JSON output.

Do I need both XML and console inputs to generate Catch2 test statistics?

No, you do not need both inputs. The parser enforces at least one input source, meaning you can generate the LLT JSON envelope with statistics and test results using either the XML report or the console log independently.

What is the best way to automate Catch2 test reporting for QA analysis?

The best way to automate Catch2 test reporting is to parse test outputs into a standard JSON envelope. This unified payload contains overall statistics, detailed test results, and source references, enabling seamless integration with automated QA dashboards.