MCPcopy
hub / github.com/github/git-sizer / TestExec

Function TestExec

git_sizer_test.go:48–52  ·  view source on GitHub ↗

Smoke test that the program runs.

(t *testing.T)

Source from the content-addressed store, hash-verified

46
47// Smoke test that the program runs.
48func TestExec(t *testing.T) {
49 cmd := exec.Command(sizerExe(t))
50 output, err := cmd.CombinedOutput()
51 assert.NoErrorf(t, err, "command failed; output: %#v", string(output))
52}
53
54func newGitBomb(t *testing.T, repo *testutils.TestRepo, depth, breadth int, body string) {
55 t.Helper()

Callers

nothing calls this directly

Calls 1

sizerExeFunction · 0.85

Tested by

no test coverage detected