github.com/interconnectedcloud/qdr-operator@v0.0.0-20210826174505-576d2b33dac7/test/e2e/e2e_test.go (about) 1 /* 2 Copyright 2019 The Interconnectedcloud Authors. 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 */ 16 17 package e2e 18 19 import ( 20 "os" 21 "testing" 22 23 // Never, ever remove the line with "/ginkgo". Without it, 24 // the ginkgo test runner will not detect that this 25 // directory contains a Ginkgo test suite. 26 // See https://github.com/kubernetes/kubernetes/issues/74827 27 // "github.com/onsi/ginkgo" 28 29 "github.com/interconnectedcloud/qdr-operator/test/e2e/framework" 30 ) 31 32 func TestMain(m *testing.M) { 33 // Register framework flags 34 framework.HandleFlags() 35 framework.AfterReadingAllFlags(&framework.TestContext) 36 os.Exit(m.Run()) 37 } 38 39 func TestE2E(t *testing.T) { 40 RunE2ETests(t) 41 }