Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildTest ¶
type BuildTest struct {
// contains filtered or unexported fields
}
BuildTest is a test that builds a component in an azldev project.
func NewBuildTest ¶
func NewBuildTest( project projecttest.TestProject, componentName string, options ...projecttest.ProjectTestOption, ) *BuildTest
NewBuildTest creates a new BuildTest for the specified project and component name. Optional [projecttest.ProjectTestOption]s can be passed to configure the underlying project test, such as projecttest.WithTestDefaultConfigs to include the test default configs.
type BuildTestResults ¶
type BuildTestResults struct {
// contains filtered or unexported fields
}
BuildTestResults encapsulates the results of running a BuildTest.
func (*BuildTestResults) GetBuildOutputs ¶
func (r *BuildTestResults) GetBuildOutputs(t *testing.T) []componentcmds.ComponentBuildResults
GetBuildOutputs returns the build outputs from the test results.
Click to show internal directories.
Click to hide internal directories.