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

Function TestStartNextWithBranch

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

Source from the content-addressed store, hash-verified

288}
289
290func TestStartNextWithBranch(t *testing.T) {
291 _, configuration := setup(t)
292 configuration.ResetDeleteRemoteWipBranch = true
293 assertOnBranch(t, "master")
294 configuration.WipBranchQualifier = "green"
295
296 start(configuration)
297 assertOnBranch(t, "mob/master-green")
298 assertMobSessionBranches(t, configuration, "mob/master-green")
299 configuration.WipBranchQualifier = ""
300
301 next(configuration)
302 assertOnBranch(t, "master")
303
304 configuration.WipBranchQualifier = "green"
305 reset(configuration)
306 assertNoMobSessionBranches(t, configuration, "mob/master-green")
307}
308
309func TestStartNextStartWithBranch(t *testing.T) {
310 _, configuration := setup(t)

Callers

nothing calls this directly

Calls 7

setupFunction · 0.85
assertOnBranchFunction · 0.85
startFunction · 0.85
assertMobSessionBranchesFunction · 0.85
nextFunction · 0.85
resetFunction · 0.85

Tested by

no test coverage detected