yaml / yaml-test-suite

Comprehensive, language independent Test Suite for YAML
MIT License
181 stars 62 forks source link

use auto-generated in.json files #18

Closed rogpeppe closed 6 years ago

rogpeppe commented 6 years ago

Use a program to generate the expected in.json files automatically from the test.event files.

Fixes issue #17.

I've left 2JQS there even though the YAML appears to be invalid, but there's only a single key in the JSON output.

Also, it's not currently possible to have in.json files for multi-document YAML documents, as there's only a single JSON object in each file. That could be solved either by always providing an array of JSON objects, or by providing a sequence of JSON objects.

ingydotnet commented 6 years ago

The data branch is just a nicety that we provide for people not using TestML. It is 100% generated from the master branch.