Skip to content

Output validation

Validation is layered. A generated file can parse correctly and still contain the wrong role or unreadable color pairing.

A new adapter needs a representative output test whenever it introduces a format, package structure, role mapping, extra file, or hook. Add a validator only when the target has a stable, observable semantic or contrast contract; do not replace a format test with a broad snapshot alone.