Skip to content
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

Feature Request: support displaying output for process.stdout.write #3192

Open
rluvaton opened this issue Mar 27, 2023 · 1 comment
Open

Comments

@rluvaton
Copy link

rluvaton commented Mar 27, 2023

Issue description or question

logs that are written through process.stdout.write are not displayed

also:

  1. the logs that are displayed are in the Wallaby Console tab in WebStorm and do not clean after each test run
  2. Wallaby Console tab contains other things as well

repro

@smcenlly
Copy link
Member

By design, Wallaby does not (and never has) display process.stdout.write. If you want to show output, then Wallaby supports the use of console.log and some additional more ergnomic ways to output runtime values:

  • Identifier expressions
  • Live values comments //?
  • Show Value command

The Wallaby Console is displays some additional information about test execution progress and is not supposed to be cleared between each test run. Normally you wouldn't use this tab unless you were troubleshooting Wallaby.js issues or test execution issues (not really used for assertion failures). Mostly you want to be using the Failing Test tab in WebStorm.


Marking this as a feature request to support logging process.stdout.write and we will add it to our backlog.

@smcenlly smcenlly changed the title logs that are written with process.stdout.write is not displayed Feature Request: support displaying output for process.stdout.write Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants