You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pipe testcase stdout / stderr to tty for moon test command.
Motivation
Currently, moon test command will run the testcase and get stdout / stderr after testcase exiting.
However, if I wrote some non-terminating code, I cannot use the moon test runner and logs to debug my code, for that test runner won't terminate and logs are unavailable.
So, I think moon test command should pipe stdout / stderr to tty, and we can debug code using logs.
Detailed Description
Related Issues
Checklist
I have added all necessary details to make it easy for the maintainers to understand my request.
The text was updated successfully, but these errors were encountered:
yjl9903
changed the title
feat: moon test command should pipe stdout and stderr
[Feature Request] moon test command pipe stdout and stderr
Dec 9, 2024
yjl9903
changed the title
[Feature Request] moon test command pipe stdout and stderr
[Feature Request] moon test runner pipe stdout and stderr
Dec 9, 2024
test output 1
----- BEGIN MOON TEST RESULT -----
{"package": "username/hello/lib", "filename": "hello_test.mbt", "index": "0", "test_name": "0", "message": ""}
----- END MOON TEST RESULT -----
test output 2
----- BEGIN MOON TEST RESULT -----
{"package": "username/hello/lib", "filename": "hello_test.mbt", "index": "1", "test_name": "1", "message": ""}
----- END MOON TEST RESULT -----
Feature Request
Summary
Pipe testcase stdout / stderr to tty for moon test command.
Motivation
Currently, moon test command will run the testcase and get stdout / stderr after testcase exiting.
However, if I wrote some non-terminating code, I cannot use the moon test runner and logs to debug my code, for that test runner won't terminate and logs are unavailable.
So, I think moon test command should pipe stdout / stderr to tty, and we can debug code using logs.
Detailed Description
Related Issues
Checklist
The text was updated successfully, but these errors were encountered: