Documentation
¶
Index ¶
- func AssertFileContains(t *testing.T, path string, expected string)
- func AssertFileExists(t *testing.T, path string)
- func AssertFileNotExists(t *testing.T, path string)
- func AssertGitTag(t *testing.T, dir, tag string)
- func CommitChanges(t *testing.T, dir, message string)
- func SetupTestRepo(t *testing.T) string
- type CLIResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertFileContains ¶
AssertFileContains checks that a file contains expected content.
func AssertFileExists ¶
AssertFileExists checks that a file exists.
func AssertFileNotExists ¶
AssertFileNotExists checks that a file does not exist.
func AssertGitTag ¶
AssertGitTag checks that a git tag exists.
func CommitChanges ¶
CommitChanges commits all changes in a test repo.
func SetupTestRepo ¶
SetupTestRepo creates a test repository in t.TempDir() with: - Multi-module Go structure (root + libA, libB, libC) - Initialized git repository with initial commit - Tags: v0.1.0, libA/v0.1.0, libB/v0.1.0, libC/v0.1.0 - .changeset directory with config and sample changeset
Types ¶
Click to show internal directories.
Click to hide internal directories.