Steve Lawrence created DAFFODIL-2848:
----------------------------------------

             Summary: Output hidden when CLI test fails
                 Key: DAFFODIL-2848
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2848
             Project: Daffodil
          Issue Type: Bug
          Components: CLI
            Reporter: Steve Lawrence
            Assignee: Steve Lawrence


By default, the CLI test infrastructure does not echo the output of CLI tests 
to stdout. This means that if a CLI test fails, it can be difficult to figure 
out what the issue is. One option is to add {{debug = true}} to the {{cliRun}} 
function and re-run the test, but that isn't obvious if your not familiar with 
the cliRun command.

Instead, we should just always echo the CLI output and rely on test tools or 
IDEs to capture the output and only show it when a test fails or more 
information. Note that we conditionally dump the CLI test streams if there is 
an error, since in some cases the stream is already lost by the time an error 
is found (e.g. unexpected exit code).



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

Reply via email to