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
My experience with Jest & Jest-teamcity has been that console.X messages are written wrapped with the relevant TeamCity adoration to assign the output to the running test it was for. However, this reporter seems to treat console.X messages as passthrough. Another niggle is that when using Miniflare 3, you can get output to stdio directly from workerd. So it would be nice if stdout and stderr were redirected into the reporter on launch and adorned with the appropriate TeamCity wrapper text to assign it to the specific test generating that output..
Environment
What mocha-teamcity-reporter version are you using
I would expect waiting and finished wait to be printed adorned with TeamCity service messages assigning that output to test abc.
As I understand it, TeamCity only allows a single testStdOut / testStdErr per test so it sounds like you have to buffer stdout / stderr to memory/disk and then output it BEFORE writing out testFinished / testFailed. That being said, I have my own custom wrapper that I wrote using teamcity-service-message for non-mocha things and generating multiple testStdout / testStderr lines repeatedly seems to maybe work (although maybe I'm just not noticing the failure mode).
The text was updated successfully, but these errors were encountered:
The problem
My experience with Jest & Jest-teamcity has been that
console.X
messages are written wrapped with the relevant TeamCity adoration to assign the output to the running test it was for. However, this reporter seems to treatconsole.X
messages as passthrough. Another niggle is that when using Miniflare 3, you can get output to stdio directly fromworkerd
. So it would be nice if stdout and stderr were redirected into the reporter on launch and adorned with the appropriate TeamCity wrapper text to assign it to the specific test generating that output..Environment
Details
An example test or code sample
example.test.js:
I would expect
waiting
andfinished wait
to be printed adorned with TeamCity service messages assigning that output to testabc
.As I understand it, TeamCity only allows a single
testStdOut
/testStdErr
per test so it sounds like you have to buffer stdout / stderr to memory/disk and then output it BEFORE writing outtestFinished
/testFailed
. That being said, I have my own custom wrapper that I wrote using teamcity-service-message for non-mocha things and generating multipletestStdout
/testStderr
lines repeatedly seems to maybe work (although maybe I'm just not noticing the failure mode).The text was updated successfully, but these errors were encountered: