PrintingTools uses tests and platform harnesses to keep pagination, rendering, and performance changes visible.
| File | Purpose |
|---|---|
tests/PrintingTools.Tests/Baselines/golden-metrics.json |
Stable hashes for pagination and metrics scenarios. |
tests/PrintingTools.Tests/Baselines/harness-thresholds.json |
Time, memory, and accessibility thresholds for harness validation. |
The project has platform-specific rendering paths. Golden hashes and threshold tests catch regressions that ordinary unit tests miss, especially around layout drift, platform defaults, and performance regressions.