Documentation ¶
Overview ¶
Package testlib contains test helpers for goreleaser tests.
Index ¶
- func AssertSkipped(t *testing.T, err error)
- func GitAdd(t *testing.T)
- func GitCheckoutBranch(t *testing.T, tag string)
- func GitCommit(t *testing.T, msg string)
- func GitInit(t *testing.T)
- func GitRemoteAdd(t *testing.T, url string)
- func GitTag(t *testing.T, tag string)
- func Mktmp(t *testing.T) (folder string, back func())
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 ¶
GitCheckoutBranch allows us to change the active branch that we're using.
func GitRemoteAdd ¶
GitRemoteAdd adds the given url as remote
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.