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

Function testFile

pkg/app/test_command.go:78–85  ·  view source on GitHub ↗
(filePath string, fileName string, filters runtime.Filters)

Source from the content-addressed store, hash-verified

76}
77
78func testFile(filePath string, fileName string, filters runtime.Filters) (runtime.Result, error) {
79 s, err := getSuite(filePath, fileName)
80 if err != nil {
81 return runtime.Result{}, fmt.Errorf("Error " + err.Error())
82 }
83
84 return execute(s, filters)
85}
86
87func testDir(directory string, filters runtime.Filters) (runtime.Result, error) {
88 result := runtime.Result{}

Callers 2

TestCommandFunction · 0.85
testDirFunction · 0.85

Calls 2

getSuiteFunction · 0.85
executeFunction · 0.85

Tested by 1

TestCommandFunction · 0.68