Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExpression ¶ added in v0.0.4
func GetExpression(pattern *messages.StepDefinitionPattern, parameterTypeRegistry *cucumberexpressions.ParameterTypeRegistry) (cucumberexpressions.Expression, error)
GetExpression returns the cucumber expression this pattern defines
Types ¶
type StepDefinition ¶
type StepDefinition struct { Config *messages.StepDefinitionConfig Expression cucumberexpressions.Expression }
StepDefinition wraps a StepDefinitionConfig where the patten has been converted to a cucumber expression
type TestCaseHookDefinition ¶
type TestCaseHookDefinition struct { Config *messages.TestCaseHookDefinitionConfig TagExpression tagexpressions.Evaluatable }
TestCaseHookDefinition wraps a TestCaseHookDefinitionConfig where the tag expression has been converted to a TagExpression
type TestRunResult ¶
type TestRunResult struct {
Success bool `json:"success"`
}
TestRunResult is the result of a test run
func NewTestRunResult ¶ added in v0.0.3
func NewTestRunResult() *TestRunResult
NewTestRunResult creates a new test run result
func (*TestRunResult) Update ¶ added in v0.0.3
func (t *TestRunResult) Update(testCaseResult *messages.TestResult, isStrict bool)
Update updates the test run result with a test case result
Source Files ¶
Click to show internal directories.
Click to hide internal directories.