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

Function createTestbed

mob_test.go:2090–2101  ·  view source on GitHub ↗
(t *testing.T, configuration config.Configuration)

Source from the content-addressed store, hash-verified

2088}
2089
2090func createTestbed(t *testing.T, configuration config.Configuration) {
2091 workingDir = ""
2092
2093 tempDir = t.TempDir()
2094
2095 say.Say("Creating testbed in temporary directory " + tempDir)
2096 createTestbedIn(t, tempDir)
2097
2098 setWorkingDir(tempDir + "/local")
2099 assertOnBranch(t, "master")
2100 assertNoMobSessionBranches(t, configuration, "mob-session")
2101}
2102
2103func createTestbedIn(t *testing.T, temporaryDirectory string) {
2104 say.Debug("Creating temporary test assets in " + temporaryDirectory)

Callers 3

setupFunction · 0.85

Calls 5

SayFunction · 0.92
createTestbedInFunction · 0.85
setWorkingDirFunction · 0.85
assertOnBranchFunction · 0.85

Tested by

no test coverage detected