* feat: kubesphere 4.0 Signed-off-by: ci-bot <ci-bot@kubesphere.io> * feat: kubesphere 4.0 Signed-off-by: ci-bot <ci-bot@kubesphere.io> --------- Signed-off-by: ci-bot <ci-bot@kubesphere.io> Co-authored-by: ks-ci-bot <ks-ci-bot@example.com> Co-authored-by: joyceliu <joyceliu@yunify.com>
22 lines
606 B
Go
22 lines
606 B
Go
package e2e
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/onsi/ginkgo/config"
|
|
"github.com/onsi/ginkgo/v2"
|
|
"github.com/onsi/gomega"
|
|
"k8s.io/klog/v2"
|
|
|
|
"kubesphere.io/kubesphere/test/e2e/framework/ginkgowrapper"
|
|
)
|
|
|
|
// RunE2ETests checks configuration parameters (specified through flags) and then runs
|
|
// E2E tests using the Ginkgo runner.
|
|
// This function is called on each Ginkgo node in parallel mode.
|
|
func RunE2ETests(t *testing.T) {
|
|
gomega.RegisterFailHandler(ginkgowrapper.Fail)
|
|
klog.Infof("Starting e2e run on Ginkgo node %d", config.GinkgoConfig.ParallelNode)
|
|
ginkgo.RunSpecs(t, "KubeSphere e2e suite")
|
|
}
|