Test::Deep::YAML - A Test::Deep plugin for comparing YAML-encoded data
version 0.002
use Test::More;
use Test::Deep;
use Test::Deep::YAML;
cmp_deeply(
"---\nfoo: bar\n",
yaml({ foo => 'bar' }),
'YAML-encoded data is correct',
);
This module provides the yaml
function to indicate that the target can be
parsed as a YAML string, and should be decoded before being compared to the
indicated expected data.
Contains the data which should match corresponding data in the "got" structure after it has been YAML-decoded.
Bugs may be submitted through the RT bug tracker
(or bug-Test-Deep-YAML@rt.cpan.org).
I am also usually active on irc, as 'ether' at irc.perl.org
.
Karen Etheridge ether@cpan.org
This software is copyright (c) 2013 by Karen Etheridge.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.