Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
2.7.0
-
None
Description
Add a flag (defaults false for current behavior) which makes TDML tests verbose in output.
Currently, if tests are run and pass, nothing is displayed.
In this verbose mode, Infosets would be displayed, all diagnostics would be displayed, even for tests that pass.
For tests that fail, all diagnostics would be displayed, even if the infoset doesn't match
For negative tests that produce a partial infoset (using the SAX API of Daffodil 3.0.0), they should capture as much output as possible and display this partial infoset fragment. They should also display all diagnostics even if the negative test passes becauuse expected diagnostics were found.
Unparser tests should display the outputĀ as hex dump, iso8859-1 characters, modified to have the picture characters that correspond to the non-displaying whitespace and control chars.
Round-trip tests should show how the round-trip works - each not conforming thing, whether it is Infoset or output data, and setting them off from the final correct output.
The goal is to be able to use TDML not only for unit tests, but as an easy way to run self-contained examples for demonstration.
The ability to run a TDML test in this mode should be available via a CLI option.