(m *testing.M)
| 42 | ) |
| 43 | |
| 44 | func TestMain(m *testing.M) { |
| 45 | svc := service_discovery.NewService() |
| 46 | svc.StartDiscovery(&discoverytest.TestDiscoverer{TestCase: 2}) |
| 47 | |
| 48 | os.Exit(clitest.RunCLITest(m, server.WithServices(svc))) |
| 49 | } |
| 50 | |
| 51 | func TestAddCommands(t *testing.T) { |
| 52 | cmd := NewResourceCommand() |
nothing calls this directly
no test coverage detected