github.com/cloudfoundry-attic/ltc@v0.0.0-20151123212628-098adc7919fc/cell-helpers/tee2metron/tee2metron_suite_test.go (about) 1 package main_test 2 3 import ( 4 "testing" 5 6 . "github.com/onsi/ginkgo" 7 . "github.com/onsi/gomega" 8 "github.com/onsi/gomega/gexec" 9 ) 10 11 func TestTee2metron(t *testing.T) { 12 RegisterFailHandler(Fail) 13 RunSpecs(t, "Tee2metron Suite") 14 } 15 16 var tee2MetronPath, chattyProcessPath string 17 18 var _ = BeforeSuite(func() { 19 var err error 20 tee2MetronPath, err = gexec.Build("github.com/cloudfoundry-incubator/ltc/cell-helpers/tee2metron") 21 chattyProcessPath, err = gexec.Build("github.com/cloudfoundry-incubator/ltc/cell-helpers/tee2metron/test_helpers/chatty_process") 22 Expect(err).ToNot(HaveOccurred()) 23 }) 24 25 var _ = AfterSuite(func() { 26 gexec.CleanupBuildArtifacts() 27 })