github.com/oam-dev/cluster-gateway@v1.9.0/e2e/roundtrip/e2e_test.go (about) 1 package roundtrip 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 ) 12 13 func TestMain(m *testing.M) { 14 gomega.RegisterFailHandler(ginkgo.Fail) 15 framework.ParseFlags() 16 os.Exit(m.Run()) 17 } 18 19 func RunE2ETests(t *testing.T) { 20 ginkgo.RunSpecs(t, "ClusterGateway e2e suite -- basic api round-tripping") 21 } 22 23 func TestE2E(t *testing.T) { 24 RunE2ETests(t) 25 }