github.com/verrazzano/verrazzano@v1.7.1/tests/e2e/examples/socks/sock_shop_example_suite_test.go (about) 1 // Copyright (c) 2021, 2022, Oracle and/or its affiliates. 2 // Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. 3 4 package socks 5 6 import ( 7 "flag" 8 "github.com/onsi/ginkgo/v2" 9 10 "testing" 11 ) 12 13 var skipDeploy bool 14 var skipUndeploy bool 15 var namespace string 16 17 func init() { 18 flag.BoolVar(&skipDeploy, "skipDeploy", false, "skipDeploy skips the call to install the application") 19 flag.BoolVar(&skipUndeploy, "skipUndeploy", false, "skipUndeploy skips the call to install the application") 20 flag.StringVar(&namespace, "namespace", generatedNamespace, "namespace is the app namespace") 21 } 22 23 func TestSockShopApplication(test *testing.T) { 24 t.RegisterFailHandler() 25 ginkgo.RunSpecs(test, "Sock Shop Suite") 26 }