On Mon Jul 19 22:46:16 2010, ADAMK wrote:
Show quoted text> I think you are underestimating what it would take to test "all" of
the
Show quoted text> YAML specification.
>
> As for YAML::Tiny, it isn't there to test compatibility with the YAML
> specification. It's there to test only the subset that it supports.
>
> Writing a compliance test for JSON may well be possible though.
>
> I'm not sure how you'd define the tests for things like boolean true
and
Show quoted text> false though, which Perl doesn't support.
You could have an annotated YAML test suite, so that e.g. there was a
t/yaml-tiny/ part of it that would be the only part you would import,
but others would test the rest (including YAML::Tiny). It could work
similarly to how the Perl 6 "fuzz" tests work, where multiple
implementations are being tested with the same test suite using
annotations.
There would be a lot of value in doing something like that.