yaml / yaml-test-suite

Comprehensive, language independent Test Suite for YAML
MIT License
172 stars 58 forks source link

provide test cases in non-TestML format #15

Closed rogpeppe closed 6 years ago

rogpeppe commented 6 years ago

I'd like to use the test cases here to test the Go YAML implementation (https://gopkg.in/yaml.v2) but the fact that they're formatted in the relatively obscure TestML data format makes them quite inaccessible (and I don't have the time to write a TestML parser in Go). Would it be possible to provide them in a more universally understood format, such as JSON, please?

rogpeppe commented 6 years ago

Ah, I'd missed the fact that the data is in the data branch of the repo, sorry.

perlpunk commented 6 years ago

Have you checked out the data branch? All test cases are available there with each data point in its own file. See also #14 about our versioning plans.

rogpeppe commented 6 years ago

@perlpunk thanks for the response. Are the primitives used in test.event documented anywhere?

perlpunk commented 6 years ago

The only documentation we have so far is in the README and the wiki: https://github.com/yaml/yaml-test-suite/wiki/Data-Point-Semantics

If you're on IRC, we would be glad if you would join us on Freenode IRC. Users of the test suite can help us make it better. We're in #yaml and #libyaml