Documentation
¶
Index ¶
- func RunCommand(t *testing.T, dir string, name string, args ...string) error
- func RunGitCommand(t *testing.T, dir string, args ...string) error
- func TestConfig(t *testing.T, content string) (string, func())
- func TestDir(t *testing.T) (string, func())
- func TestFile(t *testing.T, content string) (string, func())
- func TestGitRepo(t *testing.T) (string, func())
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunCommand ¶ added in v0.0.5
RunCommand executes any command and returns the result
func RunGitCommand ¶
RunGitCommand runs a git command in the specified directory
func TestConfig ¶
TestConfig creates a temporary config file for testing
func TestGitRepo ¶
TestGitRepo creates a temporary git repository for testing
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.