-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output Messages #79
Comments
Hi @EliottPaillard, I have my doubts about this one. The goal of the If you need to create a more complete report with custom outputs for the user you could potentially find useful the DisplayProcessor. This is a processing handler that allows you to pass any set of inputs to create a customised report. You could for example construct this at the end of a test session to show multiple sets of feedback (although this would not be executed if you've set the test case to stop on errors). To better understand your needs could you explain how you envisage using multiple output messages? |
Hi @EliottPaillard. I'm coming back to the feature request you made to allow multiple messages at the end of a test session. A way we could support this would be through a new
For example: <output>
<failure match="all">
<case>
<cond>$flag1</cond>
<message>"The integrity check on your data failed."</message>
</case>
<case>
<cond>$flag2</cond>
<message>"The syntax check on your data failed."</message>
</case>
<default>"Your data failed to be processed correctly. Please check the session log to determine the cause of the failure."</default>
</failure>
</output> In the above example given that In terms of how multiple messages are handled:
Would the above feature cover what you had in mind? |
That is perfect! |
Hi @EliottPaillard. I reopened this as the discussed feature is not yet available. Once it's published on our nightly channel I will post a follow up comment here (with any usage notes if different from what we discussed before), and finally close the issue. |
The feature, implemented exactly as discussed, is now available to use through the latest nightly build. A test session producing multiple output messages will display them in a single message box as separate lines (on the UI and in PDF reports): In the case of XML reports, the relevant message element goes from being 0..1, to being 0..*: ...
<result>SUCCESS</result>
<message>Output message 1.</message>
<message>Output message 2.</message>
<message>Output message 3.</message>
... I'll proceed to close the issue but feel free to reopen if you have any questions on this. |
Hello @costas80,
We have started to integrate output messages in our tests. However we would want to display multiples messages for a single testcase.
Do you think it would be possible to implement that one day?
The text was updated successfully, but these errors were encountered: