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

Function TestStartDoneWithMobDoneSquash

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

Source from the content-addressed store, hash-verified

1024}
1025
1026func TestStartDoneWithMobDoneSquash(t *testing.T) {
1027 _, configuration := setup(t)
1028 configuration.DoneSquash = config.Squash
1029
1030 start(configuration)
1031 assertOnBranch(t, "mob-session")
1032
1033 done(configuration)
1034
1035 assertOnBranch(t, "master")
1036 assertNoMobSessionBranches(t, configuration, "mob-session")
1037}
1038
1039func TestStartDoneWithMobDoneSquashWithOldEmptyMobStartCommit(t *testing.T) {
1040 _, configuration := setup(t)

Callers

nothing calls this directly

Calls 5

setupFunction · 0.85
startFunction · 0.85
assertOnBranchFunction · 0.85
doneFunction · 0.85

Tested by

no test coverage detected