MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / TestBackends

Function TestBackends

e2e_backend_test.go:11–20  ·  view source on GitHub ↗

TestBackends tests all possible backends for basic functionality.

(t *testing.T)

Source from the content-addressed store, hash-verified

9
10// TestBackends tests all possible backends for basic functionality.
11func TestBackends(t *testing.T) {
12 for _, backend := range config.BackendValues() {
13 t.Run(
14 fmt.Sprintf("backend=%s", backend),
15 func(t *testing.T) {
16 testBackend(NewT(t), backend)
17 },
18 )
19 }
20}
21
22// testBackend tests a single backend.
23func testBackend(t T, backend config.Backend) {

Callers

nothing calls this directly

Calls 4

BackendValuesFunction · 0.92
NewTFunction · 0.85
testBackendFunction · 0.70
RunMethod · 0.65

Tested by

no test coverage detected