Documentation
¶
Index ¶
- func DurationToGoDuration(duration Duration) time.Duration
- func TimestampToGoTime(timestamp Timestamp) time.Time
- type Attachment
- type AttachmentContentEncoding
- type Background
- type Ci
- type Comment
- type DataTable
- type DocString
- type Duration
- type Envelope
- type Examples
- type Exception
- type Feature
- type FeatureChild
- type GherkinDocument
- type Git
- type Group
- type Hook
- type IdGenerator
- type Incrementing
- type JavaMethod
- type JavaStackTraceElement
- type Location
- type Meta
- type ParameterType
- type ParseError
- type Pickle
- type PickleDocString
- type PickleStep
- type PickleStepArgument
- type PickleStepType
- type PickleTable
- type PickleTableCell
- type PickleTableRow
- type PickleTag
- type Product
- type Rule
- type RuleChild
- type Scenario
- type Source
- type SourceMediaType
- type SourceReference
- type Step
- type StepDefinition
- type StepDefinitionPattern
- type StepDefinitionPatternType
- type StepKeywordType
- type StepMatchArgument
- type StepMatchArgumentsList
- type TableCell
- type TableRow
- type Tag
- type TestCase
- type TestCaseFinished
- type TestCaseStarted
- type TestRunFinished
- type TestRunStarted
- type TestStep
- type TestStepFinished
- type TestStepResult
- type TestStepResultStatus
- type TestStepStarted
- type Timestamp
- type UUID
- type UndefinedParameterType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DurationToGoDuration ¶
func TimestampToGoTime ¶
Types ¶
type Attachment ¶
type Attachment struct { Body string `json:"body"` ContentEncoding AttachmentContentEncoding `json:"contentEncoding"` FileName string `json:"fileName,omitempty"` MediaType string `json:"mediaType"` Source *Source `json:"source,omitempty"` TestCaseStartedId string `json:"testCaseStartedId,omitempty"` TestStepId string `json:"testStepId,omitempty"` Url string `json:"url,omitempty"` }
type AttachmentContentEncoding ¶
type AttachmentContentEncoding string
const ( AttachmentContentEncoding_IDENTITY AttachmentContentEncoding = "IDENTITY" AttachmentContentEncoding_BASE64 AttachmentContentEncoding = "BASE64" )
func (AttachmentContentEncoding) String ¶
func (e AttachmentContentEncoding) String() string
type Background ¶
type Duration ¶
func GoDurationToDuration ¶
type Envelope ¶
type Envelope struct { Attachment *Attachment `json:"attachment,omitempty"` GherkinDocument *GherkinDocument `json:"gherkinDocument,omitempty"` Hook *Hook `json:"hook,omitempty"` Meta *Meta `json:"meta,omitempty"` ParameterType *ParameterType `json:"parameterType,omitempty"` ParseError *ParseError `json:"parseError,omitempty"` Pickle *Pickle `json:"pickle,omitempty"` Source *Source `json:"source,omitempty"` StepDefinition *StepDefinition `json:"stepDefinition,omitempty"` TestCase *TestCase `json:"testCase,omitempty"` TestCaseFinished *TestCaseFinished `json:"testCaseFinished,omitempty"` TestCaseStarted *TestCaseStarted `json:"testCaseStarted,omitempty"` TestRunFinished *TestRunFinished `json:"testRunFinished,omitempty"` TestRunStarted *TestRunStarted `json:"testRunStarted,omitempty"` TestStepFinished *TestStepFinished `json:"testStepFinished,omitempty"` TestStepStarted *TestStepStarted `json:"testStepStarted,omitempty"` UndefinedParameterType *UndefinedParameterType `json:"undefinedParameterType,omitempty"` }
type Examples ¶
type Examples struct { Location *Location `json:"location"` Tags []*Tag `json:"tags"` Keyword string `json:"keyword"` Name string `json:"name"` Description string `json:"description"` TableHeader *TableRow `json:"tableHeader,omitempty"` TableBody []*TableRow `json:"tableBody"` Id string `json:"id"` }
type FeatureChild ¶
type FeatureChild struct { Rule *Rule `json:"rule,omitempty"` Background *Background `json:"background,omitempty"` Scenario *Scenario `json:"scenario,omitempty"` }
type GherkinDocument ¶
type Hook ¶
type Hook struct { Id string `json:"id"` Name string `json:"name,omitempty"` SourceReference *SourceReference `json:"sourceReference"` TagExpression string `json:"tagExpression,omitempty"` }
type IdGenerator ¶
type IdGenerator interface {
// contains filtered or unexported methods
}
type Incrementing ¶
type Incrementing struct {
// contains filtered or unexported fields
}
func (*Incrementing) NewId ¶
func (self *Incrementing) NewId() string
type JavaMethod ¶
type JavaStackTraceElement ¶
type ParameterType ¶
type ParseError ¶
type ParseError struct { Source *SourceReference `json:"source"` Message string `json:"message"` }
type PickleDocString ¶
type PickleStep ¶
type PickleStep struct { Argument *PickleStepArgument `json:"argument,omitempty"` AstNodeIds []string `json:"astNodeIds"` Id string `json:"id"` Type PickleStepType `json:"type,omitempty"` Text string `json:"text"` }
type PickleStepArgument ¶
type PickleStepArgument struct { DocString *PickleDocString `json:"docString,omitempty"` DataTable *PickleTable `json:"dataTable,omitempty"` }
type PickleStepType ¶
type PickleStepType string
const ( PickleStepType_UNKNOWN PickleStepType = "Unknown" PickleStepType_CONTEXT PickleStepType = "Context" PickleStepType_ACTION PickleStepType = "Action" PickleStepType_OUTCOME PickleStepType = "Outcome" )
func (PickleStepType) String ¶
func (e PickleStepType) String() string
type PickleTable ¶
type PickleTable struct {
Rows []*PickleTableRow `json:"rows"`
}
type PickleTableCell ¶
type PickleTableCell struct {
Value string `json:"value"`
}
type PickleTableRow ¶
type PickleTableRow struct {
Cells []*PickleTableCell `json:"cells"`
}
type RuleChild ¶
type RuleChild struct { Background *Background `json:"background,omitempty"` Scenario *Scenario `json:"scenario,omitempty"` }
type Source ¶
type Source struct { Uri string `json:"uri"` Data string `json:"data"` MediaType SourceMediaType `json:"mediaType"` }
type SourceMediaType ¶
type SourceMediaType string
const ( SourceMediaType_TEXT_X_CUCUMBER_GHERKIN_PLAIN SourceMediaType = "text/x.cucumber.gherkin+plain" SourceMediaType_TEXT_X_CUCUMBER_GHERKIN_MARKDOWN SourceMediaType = "text/x.cucumber.gherkin+markdown" )
func (SourceMediaType) String ¶
func (e SourceMediaType) String() string
type SourceReference ¶
type SourceReference struct { Uri string `json:"uri,omitempty"` JavaMethod *JavaMethod `json:"javaMethod,omitempty"` JavaStackTraceElement *JavaStackTraceElement `json:"javaStackTraceElement,omitempty"` Location *Location `json:"location,omitempty"` }
type StepDefinition ¶
type StepDefinition struct { Id string `json:"id"` Pattern *StepDefinitionPattern `json:"pattern"` SourceReference *SourceReference `json:"sourceReference"` }
type StepDefinitionPattern ¶
type StepDefinitionPattern struct { Source string `json:"source"` Type StepDefinitionPatternType `json:"type"` }
type StepDefinitionPatternType ¶
type StepDefinitionPatternType string
const ( StepDefinitionPatternType_CUCUMBER_EXPRESSION StepDefinitionPatternType = "CUCUMBER_EXPRESSION" StepDefinitionPatternType_REGULAR_EXPRESSION StepDefinitionPatternType = "REGULAR_EXPRESSION" )
func (StepDefinitionPatternType) String ¶
func (e StepDefinitionPatternType) String() string
type StepKeywordType ¶
type StepKeywordType string
const ( StepKeywordType_UNKNOWN StepKeywordType = "Unknown" StepKeywordType_CONTEXT StepKeywordType = "Context" StepKeywordType_ACTION StepKeywordType = "Action" StepKeywordType_OUTCOME StepKeywordType = "Outcome" StepKeywordType_CONJUNCTION StepKeywordType = "Conjunction" )
func (StepKeywordType) String ¶
func (e StepKeywordType) String() string
type StepMatchArgument ¶
type StepMatchArgumentsList ¶
type StepMatchArgumentsList struct {
StepMatchArguments []*StepMatchArgument `json:"stepMatchArguments"`
}
type TestCaseFinished ¶
type TestCaseStarted ¶
type TestRunFinished ¶
type TestRunStarted ¶
type TestRunStarted struct {
Timestamp *Timestamp `json:"timestamp"`
}
type TestStep ¶
type TestStep struct { HookId string `json:"hookId,omitempty"` Id string `json:"id"` PickleStepId string `json:"pickleStepId,omitempty"` StepDefinitionIds []string `json:"stepDefinitionIds,omitempty"` StepMatchArgumentsLists []*StepMatchArgumentsList `json:"stepMatchArgumentsLists,omitempty"` }
type TestStepFinished ¶
type TestStepFinished struct { TestCaseStartedId string `json:"testCaseStartedId"` TestStepId string `json:"testStepId"` TestStepResult *TestStepResult `json:"testStepResult"` Timestamp *Timestamp `json:"timestamp"` }
type TestStepResult ¶
type TestStepResult struct { Duration *Duration `json:"duration"` Message string `json:"message,omitempty"` Status TestStepResultStatus `json:"status"` Exception *Exception `json:"exception,omitempty"` }
type TestStepResultStatus ¶
type TestStepResultStatus string
const ( TestStepResultStatus_UNKNOWN TestStepResultStatus = "UNKNOWN" TestStepResultStatus_PASSED TestStepResultStatus = "PASSED" TestStepResultStatus_SKIPPED TestStepResultStatus = "SKIPPED" TestStepResultStatus_PENDING TestStepResultStatus = "PENDING" TestStepResultStatus_UNDEFINED TestStepResultStatus = "UNDEFINED" TestStepResultStatus_AMBIGUOUS TestStepResultStatus = "AMBIGUOUS" TestStepResultStatus_FAILED TestStepResultStatus = "FAILED" )
func (TestStepResultStatus) String ¶
func (e TestStepResultStatus) String() string
type TestStepStarted ¶
type Timestamp ¶
func GoTimeToTimestamp ¶
type UndefinedParameterType ¶
Click to show internal directories.
Click to hide internal directories.