JUnit XML Dialect NormalizerJUnit XML has no single current specification, and CI consumers do not accept every producer dialect consistently. This extension provides one local command that validates the active report and rewrites nested suites into a deterministic, flat One workflow
The command works entirely in the editor. It makes no network requests and sends no telemetry. It rejects DTD and entity declarations, malformed XML, unsupported roots, excessive input, and empty GitLab-targeted reports. On failure, the document is not changed. Normalization flattens nested suites, retains testcase content and suite metadata, adds ancestor names to flattened suite names, and recalculates Local verificationFrom the materialized project directory, run:
Both checks use only Node.js built-in modules. No dependency installation is required. Extension Development HostOpen this folder in VS Code, start an Extension Development Host for the folder, open a JUnit XML fixture, and invoke the command from the Command Palette. The automated fixture test also exercises command registration, document replacement, target configuration, and success messaging with a deterministic VS Code API fixture. Scope and limitationsThis MVP supports the conventional |