You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be very nice to be able to do extra validation on generated files in the tests. For instance if you are generating an XML file with metaconfig that you can actually get the output and run it through an XML parser to see if it's valid.
Something for example like:
use Test::More;
use Test::Quattor::TextRender::Metaconfig;
use XML::Parser;
my$u = Test::Quattor::TextRender::Metaconfig->new(
service=>'some-service',
)->test();
my$p = XML::Parser->new(Style=>'Tree');
my$t;
eval { $t = $p->parse($u->output); };
ok(! @$,"No XML parsing errors");
done_testing;
The text was updated successfully, but these errors were encountered:
It would be very nice to be able to do extra validation on generated files in the tests. For instance if you are generating an XML file with metaconfig that you can actually get the output and run it through an XML parser to see if it's valid.
Something for example like:
The text was updated successfully, but these errors were encountered: