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

Function TestStartWithMultipleExistingBranchesWithStay

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

Source from the content-addressed store, hash-verified

271}
272
273func TestStartWithMultipleExistingBranchesWithStay(t *testing.T) {
274 output, configuration := setup(t)
275 configuration.NextStay = true
276
277 configuration.WipBranchQualifier = "green"
278 assertOnBranch(t, "master")
279 start(configuration)
280 assertOnBranch(t, "mob/master-green")
281 next(configuration)
282 assertOnBranch(t, "mob/master-green")
283
284 configuration.WipBranchQualifier = ""
285 start(configuration)
286 assertOnBranch(t, "mob/master-green")
287 assertOutputNotContains(t, output, "qualified mob branches detected")
288}
289
290func TestStartNextWithBranch(t *testing.T) {
291 _, configuration := setup(t)

Callers

nothing calls this directly

Calls 5

setupFunction · 0.85
assertOnBranchFunction · 0.85
startFunction · 0.85
nextFunction · 0.85
assertOutputNotContainsFunction · 0.85

Tested by

no test coverage detected