github.com/cloudfoundry-attic/garden-linux@v0.333.2-candidate/integration/performance/performance_suite_test.go (about)

     1  package performance_test
     2  
     3  import (
     4  	"os"
     5  
     6  	. "github.com/onsi/ginkgo"
     7  	. "github.com/onsi/gomega"
     8  
     9  	"testing"
    10  )
    11  
    12  func TestPerformance(t *testing.T) {
    13  	BeforeEach(func() {
    14  		if os.Getenv("GARDEN_PERFORMANCE") == "" {
    15  			Skip("GARDEN_PERFORMANCE undefined")
    16  		}
    17  	})
    18  
    19  	RegisterFailHandler(Fail)
    20  	RunSpecs(t, "Performance Suite")
    21  }