gotestyourself / gotestsum

'go test' runner with output optimized for humans, JUnit XML for CI integration, and a summary of the test results.
Apache License 2.0
2.03k stars 119 forks source link

Support(): When I use gotestsum, some unexpected message output #369

Open Ephemeraler opened 11 months ago

Ephemeraler commented 11 months ago

when I use gotestsum, I found some unexpected output warning: GOCOVERDIR not set, no coverage data emitted. image

but, when I use go test, there isnt unexpected output. image

I use fakeExecCommand to mcok os/exec, so I need to output some message into stdout.

dnephin commented 11 months ago

Hello, this doesn't look like an error from gotestsum, so I guess it has something to do wit how you are running the tests. Can you share the commands you used to run each of these?