github.com/verrazzano/verrazzano@v1.7.1/tests/e2e/examples/argocd-helidon/argocd_helidon_suite_test.go (about)

     1  // Copyright (c) 2023, 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 argocd
     5  
     6  import (
     7  	"flag"
     8  	"testing"
     9  
    10  	"github.com/onsi/ginkgo/v2"
    11  )
    12  
    13  var skipDeploy bool
    14  var namespace string
    15  var skipVerify bool
    16  
    17  func init() {
    18  	flag.BoolVar(&skipDeploy, "skipDeploy", false, "skipDeploy skips the call to install the application")
    19  	flag.StringVar(&namespace, "namespace", argoCdHelidon, "namespace is the app namespace")
    20  	flag.BoolVar(&skipVerify, "skipVerify", false, "skipVerify skips the post deployment app validations")
    21  }
    22  
    23  func TestArgoCDHelidonExample(test *testing.T) {
    24  	t.RegisterFailHandler()
    25  	ginkgo.RunSpecs(test, "Argo CD Hello Helidon Suite")
    26  }