github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+incompatible/plugin/plugin_suite_test.go (about)

     1  package plugin_test
     2  
     3  import (
     4  	"path/filepath"
     5  
     6  	"code.cloudfoundry.org/cli/cf/util/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  }