MCPcopy Create free account
hub / github.com/astercloud/aster / SkipIfShort

Function SkipIfShort

pkg/tools/builtin/testutils.go:455–459  ·  view source on GitHub ↗

SkipIfShort 如果是短测试模式则跳过

(t *testing.T)

Source from the content-addressed store, hash-verified

453
454// SkipIfShort 如果是短测试模式则跳过
455func SkipIfShort(t *testing.T) {
456 if testing.Short() {
457 t.Skip("Skipping test in short mode")
458 }
459}
460
461// BenchmarkTool 工具性能基准测试辅助函数
462func BenchmarkTool(b *testing.B, tool tools.Tool, input map[string]any) {

Callers 1

TestReadTool_LargeFileFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestReadTool_LargeFileFunction · 0.68