7.2. Test Suites
The project includes 24 test executables spanning 19 hand-written suites and 7 diagnostic pipelines:
Suite | Focus |
|---|---|
| All 132 YAML 1.2.2 specification examples |
| Scanner-level token stream for spec examples |
| Scanner behavior on targeted inputs |
| Raw token-to-AST parsing |
| Flow collection syntax (inline sequences, mappings) |
| Regression tests for flow parsing edge cases |
|
Explicit key ( |
| Input validation and error reporting |
| Parser limit enforcement |
| Adversarial inputs targeting parser robustness |
| Systematic input perturbation |
| Randomized property-based testing |
| Parse → dump → parse cycle validation |
| Schema resolution and dump formatting |
| Coverage analysis across production inputs |
| Error stage diagnostic output |
| Scalar stage diagnostic output |