Created
May 29, 2019 09:29
-
-
Save sttts/83ae4a5c89d5bea626034bb8cf397343 to your computer and use it in GitHub Desktop.
Gingko run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package apimachinery | |
import ( | |
"testing" | |
"github.com/onsi/ginkgo" | |
ginkgoconfig "github.com/onsi/ginkgo/config" | |
"github.com/onsi/gomega" | |
"k8s.io/kubernetes/test/e2e/framework" | |
) | |
func TestCRDOpenapi(t *testing.T) { | |
gomega.RegisterFailHandler(ginkgo.Fail) | |
ginkgoconfig.GinkgoConfig.FocusString = "CustomResourceConversionWebhook" // that's a regex | |
ginkgoconfig.GinkgoConfig.FailFast = true | |
ginkgoconfig.GinkgoConfig.ParallelTotal = 1 | |
ginkgoconfig.GinkgoConfig.ParallelNode = 1 | |
ginkgoconfig.DefaultReporterConfig.Verbose = true | |
ginkgoconfig.DefaultReporterConfig.FullTrace = true | |
framework.TestContext.Provider = "local" | |
framework.TestContext.KubectlPath = "/Users/sts/Quellen/origin/src/github.com/openshift/origin/_output/local/bin/darwin/amd64/kubectl" | |
framework.TestContext.KubeConfig = "/Users/sts/.kube/config" | |
framework.AfterReadingAllFlags(&framework.TestContext) | |
ginkgo.RunSpecs(t, "tests") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment