(t *testing.T)
| 1638 | } |
| 1639 | |
| 1640 | func TestStartNextPushManualCommitsFeatureBranch(t *testing.T) { |
| 1641 | _, configuration := setup(t) |
| 1642 | |
| 1643 | setWorkingDir(tempDir + "/local") |
| 1644 | |
| 1645 | git("checkout", "-b", "feature1") |
| 1646 | git("push", "origin", "feature1", "--set-upstream") |
| 1647 | assertOnBranch(t, "feature1") |
| 1648 | start(configuration) |
| 1649 | assertOnBranch(t, "mob/feature1") |
| 1650 | |
| 1651 | createFileAndCommitIt(t, "example.txt", "contentIrrelevant", "asdf") |
| 1652 | next(configuration) |
| 1653 | |
| 1654 | setWorkingDir(tempDir + "/localother") |
| 1655 | git("fetch") |
| 1656 | git("checkout", "feature1") |
| 1657 | start(configuration) |
| 1658 | assertFileExist(t, "example.txt") |
| 1659 | } |
| 1660 | |
| 1661 | func TestConflictingMobSessions(t *testing.T) { |
| 1662 | _, configuration := setup(t) |
nothing calls this directly
no test coverage detected