github.com/sleungcy-sap/cli@v7.1.0+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  }