Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrPreloaderNameAlreadyExists = errors.New("PreloaderNameAlreadyExists", "preloader name '%s' already exists")
)
Functions ¶
This section is empty.
Types ¶
type Preloader ¶
type Preloader struct { Name string `json:"name"` Images []string `json:"images"` *system.SystemDependencies }
Preloader is a struct that contains the list of preloaded images. A preloader makes sure that the images are preloaded before the test suite starts. Hint: If you use a Preloader per test suite, you can save resources
func New ¶
func New(name string, sysDeps *system.SystemDependencies) (*Preloader, error)
New creates a new preloader
func (*Preloader) EmptyImages ¶
EmptyImages empties the list of preloaded images
Click to show internal directories.
Click to hide internal directories.