github.com/oam-dev/cluster-gateway@v1.9.0/e2e/e2e_test.go (about) 1 package e2e 2 3 import ( 4 "os" 5 "testing" 6 7 "github.com/onsi/ginkgo/v2" 8 "github.com/onsi/gomega" 9 10 "github.com/oam-dev/cluster-gateway/e2e/framework" 11 // per-package e2e suite 12 _ "github.com/oam-dev/cluster-gateway/e2e/roundtrip" 13 ) 14 15 func TestMain(m *testing.M) { 16 gomega.RegisterFailHandler(ginkgo.Fail) 17 framework.ParseFlags() 18 os.Exit(m.Run()) 19 } 20 21 func TestE2E(t *testing.T) { 22 RunE2ETests(t) 23 }