Open Ephemeraler opened 11 months ago
when I use gotestsum, I found some unexpected output warning: GOCOVERDIR not set, no coverage data emitted.
warning: GOCOVERDIR not set, no coverage data emitted.
but, when I use go test, there isnt unexpected output.
I use fakeExecCommand to mcok os/exec, so I need to output some message into stdout.
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?
gotestsum
when I use gotestsum, I found some unexpected output
warning: GOCOVERDIR not set, no coverage data emitted.
but, when I use go test, there isnt unexpected output.
I use fakeExecCommand to mcok os/exec, so I need to output some message into stdout.