Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Directory ¶
func Directory() string
Directory returns the directory under which tests fixtures should be placed
func Initialize ¶ added in v0.7.10
func Initialize(baseDir string, projects []Project, initializerFn ProjectInitializerFunction)
Initialize executes git clone in target directory and checksout the provided commit, then runts the initializerFn. This is done asynchronously for each provided project
Types ¶
type Project ¶
type Project struct { Name string URL string Commit string Options map[string]interface{} Env map[string]string }
Project describes a git repo for a test fixture and env vars for when it is to be built
type ProjectInitializerFunction ¶ added in v0.7.10
ProjectInitializerFunction defines how a single project should be initialized *after* it has already been cloned
Click to show internal directories.
Click to hide internal directories.