Versions in this module Expand all Collapse all v0 v0.0.3 Apr 15, 2022 v0.0.1 Apr 15, 2022 Changes in this version + var DefaultOnWait = func(bc BackgroundContext, self WaitForStopEventConfiguration) + var DefaultWaitTime = 20 * time.Millisecond + var ErrInvalidTestingOutputMethod = errors.New("invalid testing output method") + var ErrNoTestingTRegisteredForTest = errors.New("no testing.TB registered for test") + func WaitForStopEvent(bc BackgroundContext, w WaitForStopEventConfiguration) + type BackgroundContext struct + Log *zap.SugaredLogger + Stop <-chan StopEvent + type BackgroundOperation interface + Handler func() func(bc BackgroundContext) + Name func() string + Setup func() func(c Context) + func NewBackgroundOperation(name string, setup func(c Context), handler func(bc BackgroundContext)) BackgroundOperation + func NewBackgroundVerification(name string, setup func(c Context), verify func(c Context)) BackgroundOperation + type Configuration struct + Log *zap.Logger + T *testing.T + type Context struct + Log *zap.SugaredLogger + T *testing.T + type Installations struct + Base []Operation + DowngradeWith []Operation + UpgradeWith []Operation + type LogConfig struct + Config zap.Config + Options []zap.Option + type Operation interface + Handler func() func(c Context) + Name func() string + func NewOperation(name string, handler func(c Context)) Operation + type StopEvent struct + Finished chan<- struct{} + T *testing.T + func (s *StopEvent) Name() string + type Suite struct + Installations Installations + Tests Tests + func (s *Suite) Execute(c Configuration) + type SuiteExecutor interface + Execute func(c Configuration) + type Tests struct + Continual []BackgroundOperation + PostDowngrade []Operation + PostUpgrade []Operation + PreUpgrade []Operation + type WaitForStopEventConfiguration struct + Name string + OnStop func(event StopEvent) + OnWait func(bc BackgroundContext, self WaitForStopEventConfiguration) + WaitTime time.Duration