github.com/onsi/ginkgo@v1.16.6-0.20211118180735-4e1925ba4c95/ginkgo/ginkgo_cli_suite_test.go (about)

     1  package main
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/onsi/ginkgo/internal/test_helpers"
     7  
     8  	. "github.com/onsi/ginkgo"
     9  	. "github.com/onsi/gomega"
    10  )
    11  
    12  func TestGinkgoCLI(t *testing.T) {
    13  	RegisterFailHandler(Fail)
    14  	RunSpecs(t, "Ginkgo CLI Suite")
    15  }
    16  
    17  var anchors test_helpers.Anchors
    18  var _ = BeforeSuite(func() {
    19  	var err error
    20  	anchors, err = test_helpers.LoadAnchors(test_helpers.DOCS, "../")
    21  	Ω(err).ShouldNot(HaveOccurred())
    22  })