Skip to content

mutants: add one for all-changes d1affa3 (output buffer) - #287

Open
cldellow wants to merge 1 commit into
bench-toolsfrom
mutant-output-buffer
Open

cldellow wants to merge 1 commit into
bench-toolsfrom
mutant-output-buffer

Conversation

@cldellow

Copy link
Copy Markdown
Owner

Adds a mutant for all-changes d1affa3 ("JSON and XML output: write each element to std::cout in one call", #286). Targets bench-tools.

Mutant: in output_formats/output_buffer.h, the overload that writes Xml_Escaped text into the buffer appends the raw string instead of escaping it. That overload exists only on all-changes, whose XML tag, role and user printers stream escaped text without copying it.

Result: checked with the mutate workflow (run), only=d1affa3, ref=all-changes, tools_ref=mutant-output-buffer, seeds 1–60: caught by nine checks, for example "out meta xml" (40 differ, 40 more fail), "date out meta" (120 differ, 117 more fail) and "adiff" (80 differ).


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants