package types
import "github.com/onsi/ginkgo/types"
Index ¶
- Constants
- type CodeLocation
- type FlagType
- type RemoteAfterSuiteData
- type RemoteBeforeSuiteData
- type RemoteBeforeSuiteState
- type SetupSummary
- type SpecComponentType
- type SpecFailure
- type SpecMeasurement
- type SpecState
- type SpecSummary
- func (s SpecSummary) Failed() bool
- func (s SpecSummary) HasFailureState() bool
- func (s SpecSummary) Panicked() bool
- func (s SpecSummary) Passed() bool
- func (s SpecSummary) Pending() bool
- func (s SpecSummary) Skipped() bool
- func (s SpecSummary) TimedOut() bool
- type SuiteSummary
Constants ¶
const GINKGO_FOCUS_EXIT_CODE = 197
Types ¶
type CodeLocation ¶
func (CodeLocation) String ¶
func (codeLocation CodeLocation) String() string
type FlagType ¶
type FlagType uint
type RemoteAfterSuiteData ¶
type RemoteAfterSuiteData struct { CanRun bool }
type RemoteBeforeSuiteData ¶
type RemoteBeforeSuiteData struct { Data []byte State RemoteBeforeSuiteState }
func (RemoteBeforeSuiteData) ToJSON ¶
func (r RemoteBeforeSuiteData) ToJSON() []byte
type RemoteBeforeSuiteState ¶
type RemoteBeforeSuiteState int
const ( RemoteBeforeSuiteStateInvalid RemoteBeforeSuiteState = iota RemoteBeforeSuiteStatePending RemoteBeforeSuiteStatePassed RemoteBeforeSuiteStateFailed RemoteBeforeSuiteStateDisappeared )
type SetupSummary ¶
type SetupSummary struct { ComponentType SpecComponentType CodeLocation CodeLocation State SpecState RunTime time.Duration Failure SpecFailure CapturedOutput string SuiteID string }
type SpecComponentType ¶
type SpecComponentType uint
const ( SpecComponentTypeInvalid SpecComponentType = iota SpecComponentTypeContainer SpecComponentTypeBeforeSuite SpecComponentTypeAfterSuite SpecComponentTypeBeforeEach SpecComponentTypeJustBeforeEach SpecComponentTypeAfterEach SpecComponentTypeIt SpecComponentTypeMeasure )
type SpecFailure ¶
type SpecFailure struct { Message string Location CodeLocation ForwardedPanic interface{} ComponentIndex int ComponentType SpecComponentType ComponentCodeLocation CodeLocation }
type SpecMeasurement ¶
type SpecMeasurement struct { Name string Info interface{} Results []float64 Smallest float64 Largest float64 Average float64 StdDeviation float64 SmallestLabel string LargestLabel string AverageLabel string Units string }
type SpecState ¶
type SpecState uint
const ( SpecStateInvalid SpecState = iota SpecStatePending SpecStateSkipped SpecStatePassed SpecStateFailed SpecStatePanicked SpecStateTimedOut )
type SpecSummary ¶
type SpecSummary struct { ComponentTexts []string ComponentCodeLocations []CodeLocation State SpecState RunTime time.Duration Failure SpecFailure IsMeasurement bool NumberOfSamples int Measurements map[string]*SpecMeasurement CapturedOutput string SuiteID string }
func (SpecSummary) Failed ¶
func (s SpecSummary) Failed() bool
func (SpecSummary) HasFailureState ¶
func (s SpecSummary) HasFailureState() bool
func (SpecSummary) Panicked ¶
func (s SpecSummary) Panicked() bool
func (SpecSummary) Passed ¶
func (s SpecSummary) Passed() bool
func (SpecSummary) Pending ¶
func (s SpecSummary) Pending() bool
func (SpecSummary) Skipped ¶
func (s SpecSummary) Skipped() bool
func (SpecSummary) TimedOut ¶
func (s SpecSummary) TimedOut() bool
type SuiteSummary ¶
type SuiteSummary struct { SuiteDescription string SuiteSucceeded bool SuiteID string NumberOfSpecsBeforeParallelization int NumberOfTotalSpecs int NumberOfSpecsThatWillBeRun int NumberOfPendingSpecs int NumberOfSkippedSpecs int NumberOfPassedSpecs int NumberOfFailedSpecs int RunTime time.Duration }
Source Files ¶
code_location.go synchronization.go types.go
- Version
- v1.1.0
- Published
- Aug 2, 2014
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 1 week ago –
Tools for package owners.