Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestApp ¶
func TestApp(appContext *context.AppContext, writer io.Writer, 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(serviceContext *context.ServiceContext, writer io.Writer, 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 *context.AppContext
BuildMode types.BuildMode
RunOptions composerunner.RunOptions
Writer io.Writer
}
TestRunner runs the tests for the given service
func NewTestRunner ¶
func NewTestRunner(appContext *context.AppContext, writer io.Writer) (*TestRunner, error)
NewTestRunner is TestRunner's constructor
Click to show internal directories.
Click to hide internal directories.