Skip to content

Add tests for YAML 1.2 specification examples - #1493

Open
alex-thiessen-for-siemens wants to merge 43 commits into
jbeder:masterfrom
alex-thiessen-for-siemens:yaml12-spec-examples
Open

Add tests for YAML 1.2 specification examples#1493
alex-thiessen-for-siemens wants to merge 43 commits into
jbeder:masterfrom
alex-thiessen-for-siemens:yaml12-spec-examples

Conversation

@alex-thiessen-for-siemens

Copy link
Copy Markdown
Contributor

Summary

  • Add node and event-handler coverage for the remaining YAML 1.2 specification examples.
  • Extend the shared specification fixtures used by the integration tests.
  • Keep the coverage organized by specification example so each case is traceable to the YAML 1.2 text.

Testing

  • CMake/CTest suite passes with 1,110 tests.

Closes #38

@alex-thiessen-for-siemens
alex-thiessen-for-siemens marked this pull request as ready for review September 8, 2026 10:05
Comment thread test/integration/handler_spec_test.cpp
Correct the expected trailing line breaks for Examples 8.5 and 8.21 in
both specification test layers. These parser results already match the
YAML 1.2.2 examples, so the tests no longer need to be disabled.

Reference verification: not applicable. This contribution records YAML
1.2 specification examples. No external semantic oracle is required.
Cover Example 2.19 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 2.20 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 2.21 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 2.22 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 5.1 in the event-handler specification test suite and
introduce its canonical YAML fixture.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 5.1 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 5.2 in the event-handler specification test suite and
introduce its canonical YAML fixture.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 5.2 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 5.9 in the event-handler specification test suite and
introduce its canonical YAML fixture.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 5.9 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 5.10 in the event-handler specification test suite and
introduce its canonical YAML fixture.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 5.10 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 9.1 in the event-handler specification test suite and
introduce its canonical YAML fixture.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 9.1 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 9.2 in the event-handler specification test suite and
introduce its canonical YAML fixture.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 9.2 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 9.3 in the event-handler specification test suite and
introduce its canonical YAML fixture.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 9.3 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 9.4 in the event-handler specification test suite and
introduce its canonical YAML fixture.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 9.4 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 9.5 in the event-handler specification test suite and
introduce its canonical YAML fixture.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 9.5 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 9.6 in the event-handler specification test suite and
introduce its canonical YAML fixture.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 9.6 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 10.1 in the event-handler specification test suite and
introduce its canonical YAML fixture.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 10.1 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 10.2 in the event-handler specification test suite and
introduce its canonical YAML fixture.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 10.2 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 10.3 in the event-handler specification test suite and
introduce its canonical YAML fixture.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 10.3 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 10.4 in the event-handler specification test suite and
introduce its canonical YAML fixture.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 10.4 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 10.5 in the event-handler specification test suite and
introduce its canonical YAML fixture.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 10.5 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 10.6 in the event-handler specification test suite and
introduce its canonical YAML fixture.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 10.6 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 10.7 in the event-handler specification test suite and
introduce its canonical YAML fixture.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 10.7 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 10.8 in the event-handler specification test suite and
introduce its canonical YAML fixture.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 10.8 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 10.9 in the event-handler specification test suite and
introduce its canonical YAML fixture.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
Cover Example 10.9 in the node specification test suite.

Reference verification: not applicable - this contribution records YAML
1.2 specification examples; no external semantic oracle is required.
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.

Full test suite for the YAML 1.2 spec

2 participants