pFUnit
Functions/Subroutines
test_xmlprinter_mod Module Reference

Output test messages in junit.xsd-compatible XML. More...

Functions/Subroutines

type(testsuite) function, public suite ()
 
subroutine testvalidxml ()
 
subroutine comparexmlfiletoexpectation (xmlFile)
 

Detailed Description

Output test messages in junit.xsd-compatible XML.

Author
Halvor Lund
Date
2014 July
Note
Set up a test failure and feed it to an XML-based printer so that we can test its output. Use command line call (via "system") to try to find "xmllint," and if available, use it to validate the output against junit.xsd. Either way, check the output against a hard-coded expected result (a regression test).