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

Function TestStatusDetectsWipBranches

status_test.go:40–52  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

38}
39
40func TestStatusDetectsWipBranches(t *testing.T) {
41 output, configuration := setup(t)
42 start(configuration)
43 createFile(t, "test.txt", "contentIrrelevant")
44 next(configuration)
45 git("checkout", "master")
46
47 status(configuration)
48
49 assertOutputContains(t, output, "remote wip branches detected:\n - origin/mob-session")
50 assertOutputContains(t, output, " second")
51 assertOutputContains(t, output, " ago)")
52}

Callers

nothing calls this directly

Calls 7

setupFunction · 0.85
startFunction · 0.85
createFileFunction · 0.85
nextFunction · 0.85
gitFunction · 0.85
statusFunction · 0.85
assertOutputContainsFunction · 0.85

Tested by

no test coverage detected