Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRunContext ¶
func NewRunContext() check.RunContext
NewRunContext returns a test run context pre-configured with an in-memory output data store.
Types ¶
type FileInfo ¶
type FileInfo struct {
// contains filtered or unexported fields
}
FileInfo is a mock implementation of the os.FileInfo interface for unit testing purposes.
type OutputStore ¶
type OutputStore struct {
// contains filtered or unexported fields
}
OutputStore is a mock implementation of the output.Store interface for unit testing purposes.
func NewOutputStore ¶
func NewOutputStore() *OutputStore
NewOutputStore returns a new mock (in-memory) output store. The intended use for this is in unit testing.
func (*OutputStore) Cleanup ¶
func (store *OutputStore) Cleanup() error
Cleanup removes the directory and files used for this output store
type OutputStoreItem ¶
type OutputStoreItem struct {
// contains filtered or unexported fields
}
OutputStoreItem is a mock implementation of the output.StoreItem interface for unit testing purposes.
Click to show internal directories.
Click to hide internal directories.