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

Function TestMobVersionWorksOutsideOfGitRepository

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

Source from the content-addressed store, hash-verified

2009}
2010
2011func TestMobVersionWorksOutsideOfGitRepository(t *testing.T) {
2012 output := captureOutput(t)
2013 runMob(t, t.TempDir(), "version")
2014
2015 assertOutputNotContains(t, output, "ERROR")
2016 assertOutputContains(t, output, "v"+versionNumber)
2017}
2018
2019func runMob(t *testing.T, workingDir string, args ...string) {
2020 setWorkingDir(workingDir)

Callers

nothing calls this directly

Calls 4

captureOutputFunction · 0.85
runMobFunction · 0.85
assertOutputNotContainsFunction · 0.85
assertOutputContainsFunction · 0.85

Tested by

no test coverage detected