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

Function TestStartJoinDoesNotWarn

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

Source from the content-addressed store, hash-verified

356}
357
358func TestStartJoinDoesNotWarn(t *testing.T) {
359 output, configuration := setup(t)
360
361 start(configuration)
362 createFileAndCommitIt(t, "example.txt", "asdf", "asdf")
363 next(configuration)
364
365 setWorkingDir(tempDir + "/localother")
366 start(configuration)
367
368 assertOutputNotContains(t, output, "Careful, your wip branch (mob-session) diverges from your main branch (origin/master) !")
369}
370
371func TestStartNextOnFeatureWithBranch(t *testing.T) {
372 _, configuration := setup(t)

Callers

nothing calls this directly

Calls 6

setupFunction · 0.85
startFunction · 0.85
createFileAndCommitItFunction · 0.85
nextFunction · 0.85
setWorkingDirFunction · 0.85
assertOutputNotContainsFunction · 0.85

Tested by

no test coverage detected