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

Function TestStartNextWithBranchContainingHyphen

mob_test.go:385–394  ·  view source on GitHub ↗

reproduces #117

(t *testing.T)

Source from the content-addressed store, hash-verified

383
384// reproduces #117
385func TestStartNextWithBranchContainingHyphen(t *testing.T) {
386 _, configuration := setup(t)
387 configuration.WipBranchQualifier = "test-branch"
388 start(configuration)
389 assertOnBranch(t, "mob/master-test-branch")
390 assertMobSessionBranches(t, configuration, "mob/master-test-branch")
391
392 configuration.WipBranchQualifier = ""
393 next(configuration)
394}
395
396func TestStartWithPushDefaultTracking(t *testing.T) {
397 _, configuration := setup(t)

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected