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

Function TestStartDespiteGitHook

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

Source from the content-addressed store, hash-verified

206}
207
208func TestStartDespiteGitHook(t *testing.T) {
209 _, configuration := setup(t)
210 createExecutableFileInPath(t, workingDir+"/.git/hooks", "pre-commit", "#!/bin/sh\necho 'boo'\nexit 1\n")
211
212 start(configuration)
213
214 assertOnBranch(t, "mob-session")
215 assertMobSessionBranches(t, configuration, "mob-session")
216}
217
218func TestStartWithCISkip(t *testing.T) {
219 output, configuration := setup(t)

Callers

nothing calls this directly

Calls 5

setupFunction · 0.85
startFunction · 0.85
assertOnBranchFunction · 0.85
assertMobSessionBranchesFunction · 0.85

Tested by

no test coverage detected