You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2019/11/22 04:13:00 UTC

[jira] [Commented] (DAFFODIL-2240) Need JSON test rig

    [ https://issues.apache.org/jira/browse/DAFFODIL-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16979821#comment-16979821 ] 

Mike Beckerle commented on DAFFODIL-2240:
-----------------------------------------

See https://github.com/apache/incubator-daffodil/pull/293

> Need JSON test rig
> ------------------
>
>                 Key: DAFFODIL-2240
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2240
>             Project: Daffodil
>          Issue Type: Improvement
>          Components: Infrastructure, QA, TDML Runner
>    Affects Versions: 2.4.0
>            Reporter: Mike Beckerle
>            Priority: Major
>             Fix For: 2.5.0
>
>
> There are a number of features and diagnostic messages that JSON can exercise, but XML doesn't. These are mostly around differences due to JSON lack of namespaces.
> We need a test rig for JSON that lets you unparse from XML to data, parse from data to JSON, unparse from JSON to data, and compare to see if you get the same data. 
> This could be added to TDML runner as a different mode for tests. Or possibly we just want the ability to have 
> {code:xml}
> <tdml:infoset>
>    <tdml:jsonInfoset><![CDATA[.... string of json here ...]]></tdml:jsonInfoset>
> </tdml:infoset>
> {code}
> But it could also just be a stand alone junit-style test rig.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)