You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding any other tests to the suite shows that the entire file is excluded from the test report, while go test -race ./... will still report them, and also throw a moderately useful error including the test name:
--- FAIL: Test_exits (0.00s)
daemon_test.go:12:
Error Trace: daemon_test.go:12
Error: Received unexpected error:
Test
Test: Test_exits
flag provided but not defined: -test.testlogfile
(and then prints the usage)
The text was updated successfully, but these errors were encountered:
lexrj
changed the title
If a test exits, go-opine fails to report on the entire file
If a test calls os.Exit, go-opine fails to report on the entire file
Jul 15, 2021
Minimal example:
Adding any other tests to the suite shows that the entire file is excluded from the test report, while
go test -race ./...
will still report them, and also throw a moderately useful error including the test name:(and then prints the usage)
The text was updated successfully, but these errors were encountered: