smartystreets / goconvey

Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.
http://smartystreets.github.io/goconvey/
Other
8.23k stars 554 forks source link

SoMsg didn't print out msg in test report #668

Open WangBeyond opened 1 year ago

WangBeyond commented 1 year ago

I'm personally using Goland, code snippet is like below

SoMsg(testCase.desc, runFunc(flow), ShouldEqual, testCase.expectedRes)

Test report is like following in IDE: Line 70: Expected: 'true' Actual: 'false' (Should be equal)

Didn't see any msg from test case

kz-sher commented 6 months ago

@WangBeyond I also met this issue. I dived into the source code and found that it can be solved by adding environment variable GOCONVEY_REPORTER=story.