Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotFoundAssistant - couldn't find assistant in context. ErrNotFoundAssistant = errors.New("couldn't find assistant in context") // ErrNotValidAssistantKey - the error occurs if the assistant's technical key has been compromised. ErrNotValidAssistantKey = errors.New("not valid assistant key") )
General assistant errors.
Functions ¶
func GetValueOK ¶
GetValueOK - returns the value by key from Assistant according to the set type.
Types ¶
type Assistant ¶
type Assistant struct {
// contains filtered or unexported fields
}
Assistant - stores data_assistant about test settings and is able to place them in context.
func (*Assistant) Context ¶
Context - applies the configuration to the parent context. * The parent context can be nil, then a new one will be created. * If the assistant already exists in the context, then the test will be taken from the * parent assistant and overwritten by the child.
func (*Assistant) NewContext ¶
NewContext - return context with assistant.
Click to show internal directories.
Click to hide internal directories.