MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / TestMobHelpWorksOutsideOfGitRepository

Function TestMobHelpWorksOutsideOfGitRepository

mob_test.go:1987–1993  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1985}
1986
1987func TestMobHelpWorksOutsideOfGitRepository(t *testing.T) {
1988 output := captureOutput(t)
1989 runMob(t, t.TempDir(), "help")
1990
1991 assertOutputNotContains(t, output, "ERROR")
1992 assertOutputContains(t, output, "Basic Commands:")
1993}
1994
1995func TestMobShowsHelpIfCommandIsUnknownAndOutsideOfGitRepository(t *testing.T) {
1996 output := captureOutput(t)

Callers

nothing calls this directly

Calls 4

captureOutputFunction · 0.85
runMobFunction · 0.85
assertOutputNotContainsFunction · 0.85
assertOutputContainsFunction · 0.85

Tested by

no test coverage detected