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

Function TestResetDeleteRemoteWipBranchCommitBranch

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

Source from the content-addressed store, hash-verified

471}
472
473func TestResetDeleteRemoteWipBranchCommitBranch(t *testing.T) {
474 _, configuration := setup(t)
475 configuration.WipBranchQualifier = "green"
476 configuration.ResetDeleteRemoteWipBranch = true
477 start(configuration)
478 createFile(t, "example.txt", "contentIrrelevant")
479 next(configuration)
480 assertMobSessionBranches(t, configuration, "mob/master-green")
481
482 reset(configuration)
483
484 assertOnBranch(t, "master")
485 assertNoMobSessionBranches(t, configuration, "mob/master-green")
486}
487
488func TestClean(t *testing.T) {
489 _, configuration := setup(t)

Callers

nothing calls this directly

Calls 8

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

Tested by

no test coverage detected