goconvey
goconvey copied to clipboard
No detailed log output after run go test
my testcase:
after run go test ./... -v
, the output as below:
expected:
I found it works on linux os ,but doesnot work on macos with m1
I found the reason why the reuslt was not my expect, cause i used github.com/glycerine/goconvey instead goconvey in my project.
Yes, this is a bug. I have debugged it for a long time, if using "go test -v", it works, but when running the compiled test file, it does not work, and I already add "-test.v" when compiling. go test -c -test.v ./test ./test -test.v all of them don't have the details.
I found a parameter "-convey-story", adding it will show the details.
./test -convey-story
or use it in the test command
go test -convey-story
or type it in test configuration
It works!