Versions in this module Expand all Collapse all v0 v0.1.0 Mar 18, 2026 Changes in this version + const NoArch + const TestDefaultConfigsIncludePath + const TestDefaultConfigsSubdir + func NewDynamicTestProject(options ...DynamicTestProjectOption) *dynamicTestProject + func NewTemplatedTestProject(t *testing.T, templateDir string, options ...TemplatedTestProjectOption) *templatedTestProject + func TestDefaultConfigsDir() string + type DynamicTestProjectOption func(*dynamicTestProject) + func AddComponent(componentConfig *projectconfig.ComponentConfig) DynamicTestProjectOption + func AddSpec(spec *TestSpec) DynamicTestProjectOption + func UseTestDefaultConfigs() DynamicTestProjectOption + type ProjectTest struct + func NewProjectTest(project TestProject, commandArgs []string, options ...ProjectTestOption) *ProjectTest + func (p *ProjectTest) RunInContainer(t *testing.T) *ProjectTestResults + type ProjectTestOption func(*ProjectTest) + func WithTestDefaultConfigs() ProjectTestOption + type ProjectTestResults struct + func (r *ProjectTestResults) GetInContainerProjectPath(pathComponents ...string) string + func (r *ProjectTestResults) GetJSONResult() []map[string]any + func (r *ProjectTestResults) GetProjectOutputPath(pathComponents ...string) string + func (r *ProjectTestResults) GetRawJSONBytes() []byte + type TemplatedTestProjectOption func(*templatedTestProject) + func TemplatedUseTestDefaultConfigs() TemplatedTestProjectOption + type TestProject interface + Serialize func(t *testing.T, projectDir string) + type TestSpec struct + func NewSpec(options ...TestSpecOption) *TestSpec + func (s *TestSpec) GetName() string + func (s *TestSpec) GetRelease() string + func (s *TestSpec) GetVersion() string + func (s *TestSpec) Render() string + type TestSpecOption func(*TestSpec) + func WithBuildArch(arch string) TestSpecOption + func WithName(name string) TestSpecOption + func WithRelease(release string) TestSpecOption + func WithVersion(version string) TestSpecOption