github.com/asifdxtreme/cli@v6.1.3-0.20150123051144-9ead8700b4ae+incompatible/cf/commands/commands_suite_test.go (about)

     1  package commands_test
     2  
     3  import (
     4  	"github.com/cloudfoundry/cli/cf/i18n"
     5  	"github.com/cloudfoundry/cli/cf/i18n/detection"
     6  	"github.com/cloudfoundry/cli/testhelpers/configuration"
     7  	. "github.com/onsi/ginkgo"
     8  	. "github.com/onsi/gomega"
     9  
    10  	"testing"
    11  )
    12  
    13  func TestCommands(t *testing.T) {
    14  	config := configuration.NewRepositoryWithDefaults()
    15  	i18n.T = i18n.Init(config, &detection.JibberJabberDetector{})
    16  
    17  	RegisterFailHandler(Fail)
    18  	RunSpecs(t, "Commands Suite")
    19  }