Versions in this module Expand all Collapse all v0 v0.11.0 Feb 13, 2026 Changes in this version + type MockChannel struct + func NewMockChannel(name string) *MockChannel + func (m *MockChannel) Close() error + func (m *MockChannel) Err() <-chan error + func (m *MockChannel) Error() error + func (m *MockChannel) Name() string + func (m *MockChannel) Out() <-chan []byte + func (m *MockChannel) Output() []byte + func (m *MockChannel) Start(_ int64) error + func (m *MockChannel) Write(p []byte) (int, error) + func (m *MockChannel) WriteError(err error) + func (m *MockChannel) WriteString(s string) (int, error) v0.10.0 Jan 5, 2026 Changes in this version + func AssertCatalogState(t *testing.T, catalog map[string]scm.Repository, ...) + func AssertContains(t *testing.T, got any, want any, index ...int) + func AssertEqual(t *testing.T, got, want any) + func AssertError(t *testing.T, err error, wantErr bool) + func AssertLabelContainsRepo(t *testing.T, labels map[string]mapset.Set[string], labelName string, ...) + func AssertLabelExists(t *testing.T, labels map[string]mapset.Set[string], labelName string, ...) + func AssertLength(t *testing.T, got any, want int) + func AssertNotContains(t *testing.T, output any, unwanted []string) + func AssertNotEmpty(t *testing.T, got string) + func AssertOutput(t *testing.T, got, want []string, err error, wantErr bool) + func AssertRepositoryExists(t *testing.T, catalog map[string]scm.Repository, repoKey string) + func CreateTestRepositories(count int, project string, labelPrefix string) []*scm.Repository + func CreateTestRepository(name, project string, labels []string) *scm.Repository + func ExecCommand(t *testing.T, dir string, name string, args ...string) + func FakeCmd(t *testing.T, ctx context.Context, out io.Writer) *cobra.Command + func LoadFixture(t *testing.T, configPath string) context.Context + func SetupDirs(t *testing.T, ctx context.Context, repos []string) + func SetupFakeProvider(t *testing.T, _ context.Context, providerName string, project string) scm.Provider + func SetupFakeProviderWithRepos(t *testing.T, _ context.Context, providerName string, project string, ...) scm.Provider + func SetupMultipleFakeProviders(t *testing.T, _ context.Context, projects []string) map[string]scm.Provider + func SetupRealProvider(t *testing.T, ctx context.Context, providerName string) + func SetupRepos(t *testing.T, repos []string, branches ...bool) string