MCPcopy Create free account
hub / github.com/commander-cli/commander / Test_RuntimeWithSkip

Function Test_RuntimeWithSkip

pkg/runtime/runtime_test.go:93–101  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

91}
92
93func Test_RuntimeWithSkip(t *testing.T) {
94 s := getExampleTestCases()
95 s[0].Skip = true
96
97 r := getRuntime()
98 got := r.Start(s)
99
100 assert.Equal(t, 1, got.Skipped)
101}
102
103func getRuntime() Runtime {
104 eh := EventHandler{

Callers

nothing calls this directly

Calls 3

getExampleTestCasesFunction · 0.85
getRuntimeFunction · 0.85
StartMethod · 0.80

Tested by

no test coverage detected