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
I would like to use the testname format for our tests as we like being able to see each test that passed.
However, when a test fails, it prints out all of the output of that test which in our case can be many megabytes of log output.
I've tried suppressing this with --hide-summary=output but it looks like it's not from the summary and is rather part of the testname output.
I'm running these tests in GitLab CI and so whenever there is a test failure GitLab is unable to capture all of the output and so we can't see what actually happened. I'm sending the standard-verbose output to a file so I can look there to see exactly what happened.
Is there some config that I'm missing that will let me do this? Or is this something that testname does not support?
The text was updated successfully, but these errors were encountered:
That you for raising this issue! Currently it's not possible to hide the test failure output with testname.
In #326 we talked about adding a --format-with-fails flag. This flag would be a way to include the test failure output, but I think we could use --format-with-fails=false to hide the output from testname.
I'm sending the standard-verbose output to a file so I can look there to see exactly what happened.
As a workaround until we add the new flag, another way to accomplish this is to use --jsonfile=<filename>. That should let you use the testname format, while still getting the full output in a file. You can turn the jsonfile into the standard-verbose format using:
I would like to use the
testname
format for our tests as we like being able to see each test that passed.However, when a test fails, it prints out all of the output of that test which in our case can be many megabytes of log output.
I've tried suppressing this with
--hide-summary=output
but it looks like it's not from the summary and is rather part of thetestname
output.I'm running these tests in GitLab CI and so whenever there is a test failure GitLab is unable to capture all of the output and so we can't see what actually happened. I'm sending the
standard-verbose
output to a file so I can look there to see exactly what happened.Is there some config that I'm missing that will let me do this? Or is this something that
testname
does not support?The text was updated successfully, but these errors were encountered: