github.com/rakutentech/cli@v6.12.5-0.20151006231303-24468b65536e+incompatible/cf/commands/commands_suite_test.go (about)

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