MCPcopy Index your code
hub / github.com/cloudfoundry/cli / TestCommands

Function TestCommands

cf/commands/commands_suite_test.go:14–22  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

12)
13
14func TestCommands(t *testing.T) {
15 config := configuration.NewRepositoryWithDefaults()
16 i18n.T = i18n.Init(config)
17
18 _ = commands.API{}
19
20 RegisterFailHandler(Fail)
21 RunSpecs(t, "Commands Suite")
22}
23
24var _ = BeforeEach(func() {
25 log.SetLevel(log.PanicLevel)

Callers

nothing calls this directly

Calls 2

InitFunction · 0.92

Tested by

no test coverage detected