Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FullTester ¶
type FullTester struct {
// contains filtered or unexported fields
}
FullTester should always be the ONLY implementation of the Tester interface; newly added testing implementations should implement the Runner interface.
func (FullTester) Test ¶
Test is the top level testing execution call. It serves as the entrypoint to all individual tests.
func (FullTester) TestDependencies ¶
func (t FullTester) TestDependencies() ([]string, error)
TestDependencies returns the watch dependencies to the runner.
type Runner ¶
Runner is the lowest-level test executor in Skaffold, responsible for running a single test on a single artifact image and returning its result. Any new test type should implement this interface.
type Tester ¶
type Tester interface { Test(context.Context, io.Writer, []build.Artifact) error TestDependencies() ([]string, error) }
Tester is the top level test executor in Skaffold. A tester is really a collection of artifact-specific testers, each of which contains one or more TestRunners which implements a single test run.
func NewTester ¶
func NewTester(runCtx *runcontext.RunContext) (Tester, error)
NewTester parses the provided test cases from the Skaffold config, and returns a Tester instance with all the necessary test runners to run all specified tests.