You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Olabusayo Kilo (Jira)" <ji...@apache.org> on 2023/07/17 21:21:00 UTC

[jira] [Updated] (DAFFODIL-541) TDML Runner needs to restrict text used for error comparison

     [ https://issues.apache.org/jira/browse/DAFFODIL-541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olabusayo Kilo updated DAFFODIL-541:
------------------------------------
    Fix Version/s: 3.5.1

> TDML Runner needs to restrict text used for error comparison
> ------------------------------------------------------------
>
>                 Key: DAFFODIL-541
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-541
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Infrastructure, TDML Runner, Usability
>            Reporter: Jessie Chab
>            Assignee: Olabusayo Kilo
>            Priority: Minor
>             Fix For: 3.5.1
>
>
> Currently the TDML runner's comparison feature for errors uses the entire backtrace information. So if your test is looking for an error that contains "lengthKind", but your test filename is "lengthKind.tdml", it will match and the test will erroneously pass. As Mike mentioned in our e-mail chain, the TDML runner "should remove all the file-name things, leaving only the actual error message content."



--
This message was sent by Atlassian Jira
(v8.20.10#820010)