Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestLogger ¶
func NewTestLogger() log.LoggerProvider
NewTestLogger creates a TestLogger as a log.LoggerProvider
func PrintCurrentTest ¶
PrintCurrentTest prints the current test to os.Stdout
Types ¶
type HTMLDoc ¶
type HTMLDoc struct {
// contains filtered or unexported fields
}
HTMLDoc struct
func NewHTMLParser ¶
NewHTMLParser parse html file
func (*HTMLDoc) AssertElement ¶ added in v1.3.0
AssertElement check if element by selector exists or does not exist depending on checkExists
func (*HTMLDoc) Find ¶
Find gets the descendants of each element in the current set of matched elements, filtered by a selector. It returns a new Selection object containing these matched elements.
func (*HTMLDoc) GetInputValueByID ¶
GetInputValueByID for get input value by id
func (*HTMLDoc) GetInputValueByName ¶
GetInputValueByName for get input value by name
type TestLogger ¶
type TestLogger struct {
log.WriterLogger
}
TestLogger is a logger which will write to the testing log
func (*TestLogger) GetName ¶
func (log *TestLogger) GetName() string
GetName returns the default name for this implementation
func (*TestLogger) Init ¶
func (log *TestLogger) Init(config string) error
Init inits connection writer with json config. json config only need key "level".
func (*TestLogger) ReleaseReopen ¶
func (log *TestLogger) ReleaseReopen() error
ReleaseReopen does nothing