[
https://issues.apache.org/jira/browse/DAFFODIL-2398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Lawrence updated DAFFODIL-2398:
-------------------------------------
Fix Version/s: (was: 3.0.0)
> Display mode for TDML tests
> ---------------------------
>
> Key: DAFFODIL-2398
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2398
> Project: Daffodil
> Issue Type: New Feature
> Components: TDML Runner
> Affects Versions: 2.7.0
> Reporter: Mike Beckerle
> Priority: Major
> Labels: beginner
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)