Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • This plants seeds of interesting ideas into my brain. I see that Test::XML exists but seems to be abandoned. Now I must go take some notes before I forget these things...

    --

    --rjray

    • I was about to say that it's not abandoned as the author recently accepted a patch from me, but then I noticed that the patch was sent in 2005.

      • Yeah, I've had some moments like that... (like realizing how long it's been since my book came out)

        --

        --rjray

  • Test::RelaxNG and Test::YAML (the hypothetical one) are in different categories IMHO. RelaxNG is XML specific validation YAML, otoh, is just a format Validating the data (not the serialization of the data) seems to be what you care about, so why not just use Test::Deep? It's complete, robust, well tested, featureful... I don't see why a data validation test suite has to be redone for every serliazation format out there. In fact, I'd much rather see RelaxNG validation become applicable to non XML format
  • I am actively working on this now. Keep an eye to CPAN for something in the next 2-4 days. Still trying to think of a good base namespace that applies equally to XML, JSON and YAML.

    I'm tempted to call it Test::Markup with the full knowledge that the use of the word "Markup" will wind up the YAML guys.

    --

    --rjray

  • Woot! Ask and thou shalt receive. Thanks :)