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
~/workspace/go-test go test -v ./pkg/swallow 03:56:03 PM
ok github.com/softwarebygabe/go-test/pkg/swallow 0.127s
~/workspace/go-test go test ./pkg/swallow 03:58:12 PM
ok github.com/softwarebygabe/go-test/pkg/swallow 0.124s
~/workspace/go-test
The only indication that the tests were not run is the lack of any tests being listed with the -v flag.
Anything else we need to know?:
Environment:
go-sdk version: v1.20210826.18
go version (e.g go version): go version go1.15.6 darwin/amd64
OS (e.g: cat /etc/os-release): macOS 11.6
Others:
The text was updated successfully, but these errors were encountered:
What happened:
A panic in an OptBefore handler in a suite happened at runtime and the test run was aborted but reported as successful.
What you expected to happen:
The test run to be aborted but be reported as failed in the before hook.
How to reproduce it (as minimally and precisely as possible):
consider this illustrative example:
swallow.go
With no panic in the before hook
swallow_test.go
Now with a panic
swallow_test.go
The only indication that the tests were not run is the lack of any tests being listed with the
-v
flag.Anything else we need to know?:
Environment:
v1.20210826.18
go version
):go version go1.15.6 darwin/amd64
cat /etc/os-release
):macOS 11.6
The text was updated successfully, but these errors were encountered: