Describe the bug
Calling t.XSkip() is no op if the test panics.
To Reproduce
package main
import (
"testing"
"github.com/ozontech/allure-go/pkg/framework/provider"
"github.com/ozontech/allure-go/pkg/framework/suite"
)
type Suite struct {
suite.Suite
}
func (*Suite) TestFoo(t provider.T) {
t.XSkip()
panic("error")
}
func Test(t *testing.T) {
suite.RunSuite(t, new(Suite))
}
Expected behavior
Test is skipped.
Describe the bug
Calling
t.XSkip()is no op if the test panics.To Reproduce
Expected behavior
Test is skipped.