github.com/jasonkeene/cli@v6.14.1-0.20160816203908-ca5715166dfb+incompatible/plugin/plugin_suite_test.go (about)

     1  package plugin_test
     2  
     3  import (
     4  	"path/filepath"
     5  
     6  	"github.com/cloudfoundry/cli/testhelpers/pluginbuilder"
     7  	. "github.com/onsi/ginkgo"
     8  	. "github.com/onsi/gomega"
     9  
    10  	"testing"
    11  )
    12  
    13  func TestPlugin(t *testing.T) {
    14  	RegisterFailHandler(Fail)
    15  	pluginbuilder.BuildTestBinary(filepath.Join("..", "fixtures", "plugins"), "test_1")
    16  	RunSpecs(t, "Plugin Suite")
    17  }