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

Function TestNothingToCommitCreatesNoCommits

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

Source from the content-addressed store, hash-verified

1539}
1540
1541func TestNothingToCommitCreatesNoCommits(t *testing.T) {
1542 _, configuration := setup(t)
1543
1544 setWorkingDir(tempDir + "/local")
1545 start(configuration)
1546 assertCommits(t, 1)
1547
1548 setWorkingDir(tempDir + "/localother")
1549 start(configuration)
1550 assertCommits(t, 1)
1551
1552 setWorkingDir(tempDir + "/local")
1553 next(configuration)
1554
1555 setWorkingDir(tempDir + "/localother")
1556 next(configuration)
1557
1558 setWorkingDir(tempDir + "/local")
1559 start(configuration)
1560 assertCommits(t, 1)
1561
1562 setWorkingDir(tempDir + "/localother")
1563 start(configuration)
1564 assertCommits(t, 1)
1565}
1566
1567func TestStartNextPushManualCommits(t *testing.T) {
1568 _, configuration := setup(t)

Callers

nothing calls this directly

Calls 5

setupFunction · 0.85
setWorkingDirFunction · 0.85
startFunction · 0.85
assertCommitsFunction · 0.85
nextFunction · 0.85

Tested by

no test coverage detected