Documentation ¶
Index ¶
- type BasicNode
- type ItNode
- type MeasureNode
- func (node *MeasureNode) CodeLocation() types.CodeLocation
- func (node *MeasureNode) Flag() types.FlagType
- func (node *MeasureNode) MeasurementsReport() map[string]*types.SpecMeasurement
- func (node *MeasureNode) Run() (outcome types.SpecState, failure types.SpecFailure)
- func (node *MeasureNode) Samples() int
- func (node *MeasureNode) Text() string
- func (node *MeasureNode) Type() types.SpecComponentType
- type SetupNode
- func NewAfterEachNode(body interface{}, codeLocation types.CodeLocation, timeout time.Duration, ...) *SetupNode
- func NewBeforeEachNode(body interface{}, codeLocation types.CodeLocation, timeout time.Duration, ...) *SetupNode
- func NewJustBeforeEachNode(body interface{}, codeLocation types.CodeLocation, timeout time.Duration, ...) *SetupNode
- type SubjectNode
- type SuiteNode
- func NewAfterSuiteNode(body interface{}, codeLocation types.CodeLocation, timeout time.Duration, ...) SuiteNode
- func NewBeforeSuiteNode(body interface{}, codeLocation types.CodeLocation, timeout time.Duration, ...) SuiteNode
- func NewSynchronizedAfterSuiteNode(bodyA interface{}, bodyB interface{}, codeLocation types.CodeLocation, ...) SuiteNode
- func NewSynchronizedBeforeSuiteNode(bodyA interface{}, bodyB interface{}, codeLocation types.CodeLocation, ...) SuiteNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicNode ¶
type BasicNode interface { Type() types.SpecComponentType Run() (types.SpecState, types.SpecFailure) CodeLocation() types.CodeLocation }
type ItNode ¶
type ItNode struct {
// contains filtered or unexported fields
}
func (*ItNode) CodeLocation ¶
func (node *ItNode) CodeLocation() types.CodeLocation
func (*ItNode) Type ¶
func (node *ItNode) Type() types.SpecComponentType
type MeasureNode ¶
type MeasureNode struct {
// contains filtered or unexported fields
}
func NewMeasureNode ¶
func NewMeasureNode(text string, body interface{}, flag types.FlagType, codeLocation types.CodeLocation, samples int, failer *failer.Failer, componentIndex int) *MeasureNode
func (*MeasureNode) CodeLocation ¶
func (node *MeasureNode) CodeLocation() types.CodeLocation
func (*MeasureNode) Flag ¶
func (node *MeasureNode) Flag() types.FlagType
func (*MeasureNode) MeasurementsReport ¶
func (node *MeasureNode) MeasurementsReport() map[string]*types.SpecMeasurement
func (*MeasureNode) Run ¶
func (node *MeasureNode) Run() (outcome types.SpecState, failure types.SpecFailure)
func (*MeasureNode) Samples ¶
func (node *MeasureNode) Samples() int
func (*MeasureNode) Text ¶
func (node *MeasureNode) Text() string
func (*MeasureNode) Type ¶
func (node *MeasureNode) Type() types.SpecComponentType
type SetupNode ¶
type SetupNode struct {
// contains filtered or unexported fields
}
func NewAfterEachNode ¶
func NewBeforeEachNode ¶
func NewJustBeforeEachNode ¶
func (*SetupNode) CodeLocation ¶
func (node *SetupNode) CodeLocation() types.CodeLocation
func (*SetupNode) Run ¶
func (node *SetupNode) Run() (outcome types.SpecState, failure types.SpecFailure)
func (*SetupNode) Type ¶
func (node *SetupNode) Type() types.SpecComponentType
type SubjectNode ¶
type SuiteNode ¶
type SuiteNode interface { Run(parallelNode int, parallelTotal int, syncHost string) bool Passed() bool Summary() *types.SetupSummary }
func NewAfterSuiteNode ¶
func NewBeforeSuiteNode ¶
Click to show internal directories.
Click to hide internal directories.