How We Prove a PPTX Library Actually Works
go-pptx Tech Blog Β· Part 9: Quality Engineering β Corpus, Golden Samples, Coverage, Fuzz, and the Real-Device Matrix
Series: go-pptx Tech Blog (10 parts)
Baseline: v2.4.4
Keywords: corpus regression, B1 assertions, coverage gate, native fuzz, L3 client matrix, performance guardrails, CI
1. Why "unit tests pass" is not enough
Quality problems in a file-format library are usually not "the function is written wrong," but rather:
Real documents contain extensions you have never seen;
Clients differ in their tolerance and interpretation of element order and namespaces;
A single "optimization" quietly changes the output bytes;
Newly added security branches have no tests, and coverage silently declines;
You only tested on Linux, and the Windows/WASM build fails.
go-pptx's quality engineering revolves around one principle: turn "claimed capabilities" into reproducible evidence. This part breaks down its layers of defense.
2.β¦