MCPcopy Create free account
hub / github.com/clouditor/clouditor / TestMain

Function TestMain

cli/commands/cloud/cloud_test.go:51–57  ·  view source on GitHub ↗
(m *testing.M)

Source from the content-addressed store, hash-verified

49)
50
51func TestMain(m *testing.M) {
52 clitest.AutoChdir()
53
54 svc = service_orchestrator.NewService()
55
56 os.Exit(clitest.RunCLITest(m, server.WithServices(svc)))
57}
58
59func TestNewCloudCommand(t *testing.T) {
60 cmd := NewCloudCommand()

Callers

nothing calls this directly

Calls 4

AutoChdirFunction · 0.92
RunCLITestFunction · 0.92
WithServicesFunction · 0.92
NewServiceMethod · 0.65

Tested by

no test coverage detected