-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Custom messages in runner output #3884
Comments
Hi @jthln, Thanks for the feedback! This is a great suggestion. Could you share more about why you'd need HTML for this? What kind of scenarios do you see yourself using it in, and what exactly would you like to log? By the way, we do support setNextRequest() and skipRequest() already. You can check out the details here: https://www.usebruno.com/changelog. Looking forward to your thoughts! |
Hi @anusree-bruno, Thanks for responding! Regarding HTMLHTML mainly for formatting, to be able to colorize the message, maybe red for warnings, add HTML entities, etc. If that's too complicated (GUI HTML, CLI ANSI?), raw text would imo be enough, too. Exemplary Use CaseAn exemplary use case is a scenario, where a This happens silently. No note or warning is emitted to the runner output, that the run indeed has been stopped/cancelled. At first glance, the run looks successfully this way, because you'll see the end of the runner output, all green. The Only when you notice, that the If we could output custom messages to the runner output, we could directly inform the user that the run has been stopped/cancelled and why it has. Another use case would be to show details about connection failures, retries, etc. There are probably many other scenarios, where custom output would simply be useful to show important informations. Regarding
|
Hi @jthln, Thanks for the clarification! Regarding setNextRequest() and skipRequest(): Thanks again for the great feedback! We’ll review this and see how we can incorporate it. |
I have checked the following:
Describe the feature you want to add
It would be useful, if we could add custom text messages to the Bruno runner output.
Preferably by passing (HTML?) strings to some new function like
bru.runner.log()
.Maybe be also extending runner utility functions like
setNextRequest()
,skipRequest()
, etc. by passing amessage
param.Mockups or Images of the feature
The text was updated successfully, but these errors were encountered: