Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsStar ¶
func IsStar(obj oj.OJsonObject) bool
IsStar returns whether check object is othe form "*".
Types ¶
type Parser ¶
type Parser struct {
ExprInterpreter ei.ExprInterpreter
}
Parser performs parsing of both json tests (older) and scenarios (new).
func NewParser ¶
func NewParser(fileResolver fr.FileResolver) Parser
NewParser provides a new Parser instance.
func (*Parser) ParseScenarioFile ¶
ParseScenarioFile converts a scenario json string to scenario object representation
func (*Parser) ParseScenarioStep ¶
ParseScenarioStep parses a single scenario step, instead of an entire file. Handy for tests, where step snippets can be embedded in code.
Click to show internal directories.
Click to hide internal directories.