Documentation ¶
Overview ¶
Package testlib contains test helpers for goreleaser tests.
Index ¶
- func AssertSkipped(t *testing.T, err error)
- func GitAdd(t testing.TB)
- func GitBranch(t testing.TB, branch string)
- func GitCheckoutBranch(t testing.TB, name string)
- func GitCommit(t testing.TB, msg string)
- func GitCommitWithDate(t testing.TB, msg string, commitDate time.Time)
- func GitInit(t testing.TB)
- func GitRemoteAdd(t testing.TB, url string)
- func GitTag(t testing.TB, tag string)
- func Mktmp(t testing.TB) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertSkipped ¶ added in v0.30.0
AssertSkipped asserts that a pipe was skipped.
func GitCheckoutBranch ¶ added in v0.89.0
GitCheckoutBranch allows us to change the active branch that we're using.
func GitCommitWithDate ¶ added in v0.139.0
GitCommitWithDate creates a git commit with a commit date.
func GitRemoteAdd ¶
GitRemoteAdd adds the given url as remote.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.