Open dkirrane opened 3 months ago
Is there a way to capture the reasons for test failure in the report.xml? e.g. testify/assert failures
For example, I want to see all assert errors in the report:
expect2 := fmt.Sprintf("Hello foo %s", uniquePrefix) assert.Equal(t, expect2, output)
go test log
my_test.go:197: Error Trace: ...my_test.go:59 Error: Not equal: expected: "Hello foo Bef0Ag" actual : "Hello Bef0Ag" Diff: --- Expected +++ Actual @@ -1 +1 @@ -Hello foo Bef0Ag +Hello Bef0Ag Test: TestHelloWorld
Is there a way to capture the reasons for test failure in the report.xml? e.g. testify/assert failures
For example, I want to see all assert errors in the report:
go test log