github.com/elopio/cli@v6.21.2-0.20160902224010-ea909d1fdb2f+incompatible/plugin/plugin_suite_test.go (about)

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