Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestApp ¶
func TestApp(appContext types.AppContext, writer io.Writer, mode composebuilder.BuildMode, shutdown chan os.Signal) (types.TestResult, error)
TestApp runs the tests for the entire application and return true if the tests passed and an error if any
func TestService ¶
func TestService(context types.Context, writer io.Writer, mode composebuilder.BuildMode, shutdown chan os.Signal) (types.TestResult, error)
TestService runs the tests for the service and return true if the tests passed and an error if any
Types ¶
type TestRunner ¶
type TestRunner struct {
AppContext types.AppContext
BuildMode composebuilder.BuildMode
HomeDir string
RunOptions composerunner.RunOptions
Writer io.Writer
}
TestRunner runs the tests for the given service
func NewTestRunner ¶
func NewTestRunner(appContext types.AppContext, writer io.Writer, mode composebuilder.BuildMode) (*TestRunner, error)
NewTestRunner is TestRunner's constructor
Click to show internal directories.
Click to hide internal directories.