github.com/verrazzano/verrazzano@v1.7.1/tests/e2e/examples/helidonmetrics/helidon_metrics_suite_test.go (about)

     1  // Copyright (c) 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 helidonmetrics
     5  
     6  import (
     7  	"flag"
     8  	"testing"
     9  
    10  	"github.com/onsi/ginkgo/v2"
    11  )
    12  
    13  var skipDeploy bool
    14  var skipUndeploy bool
    15  var namespace string
    16  var istioInjection string
    17  
    18  func init() {
    19  	flag.BoolVar(&skipDeploy, "skipDeploy", false, "skipDeploy skips the call to install the application")
    20  	flag.BoolVar(&skipUndeploy, "skipUndeploy", false, "skipUndeploy skips the call to install the application")
    21  	flag.StringVar(&namespace, "namespace", generatedNamespace, "namespace is the app namespace")
    22  	flag.StringVar(&istioInjection, "istioInjection", "enabled", "istioInjection enables the injection of istio side cars")
    23  }
    24  
    25  func TestHelidonExample(test *testing.T) {
    26  	t.RegisterFailHandler()
    27  	ginkgo.RunSpecs(test, "Helidon Metrics Config Suite")
    28  }