gotestsum
gotestsum copied to clipboard
testname format still prints failure output with --hide-summary=output
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?