github.com/chenbh/concourse/v6@v6.4.2/atc/resource/resource_suite_test.go (about)

     1  package resource_test
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/chenbh/concourse/v6/atc/resource"
     7  	. "github.com/onsi/ginkgo"
     8  	. "github.com/onsi/gomega"
     9  )
    10  
    11  var (
    12  	resourceFactory resource.ResourceFactory
    13  )
    14  
    15  var _ = BeforeEach(func() {
    16  
    17  	resourceFactory = resource.NewResourceFactory()
    18  })
    19  
    20  func TestResource(t *testing.T) {
    21  	RegisterFailHandler(Fail)
    22  	RunSpecs(t, "Resource Suite")
    23  }