MCPcopy
hub / github.com/slimtoolkit/slim / newTestRun

Function newTestRun

pkg/app/sensor/app_test.go:309–313  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

307}
308
309func newTestRun(t *testing.T) string {
310 runID := t.Name() + "-" + strings.SplitN(uuid.New().String(), "-", 2)[0]
311 log.Debugf("New test run %s", runID)
312 return runID
313}
314
315func TestLifecycleHook_Controlled_CLI(t *testing.T) {
316 runID := newTestRun(t)

Calls 2

NameMethod · 0.65
StringMethod · 0.45

Tested by

no test coverage detected