package spec
import "github.com/onsi/ginkgo/internal/spec"
Index ¶
- func ParallelizedIndexRange(length int, parallelTotal int, parallelNode int) (startIndex int, count int)
- type Spec
- func New(subject leafnodes.SubjectNode, containers []*containernode.ContainerNode) *Spec
- func (spec *Spec) ConcatenatedString() string
- func (spec *Spec) Failed() bool
- func (spec *Spec) Focused() bool
- func (spec *Spec) IsMeasurement() bool
- func (spec *Spec) Passed() bool
- func (spec *Spec) Pending() bool
- func (spec *Spec) Run()
- func (spec *Spec) Skip()
- func (spec *Spec) Skipped() bool
- func (spec *Spec) Summary(suiteID string) *types.SpecSummary
- type Specs
- func NewSpecs(specs []*Spec) *Specs
- func (e *Specs) ApplyFocus(description string, focusString string, skipString string)
- func (e *Specs) Len() int
- func (e *Specs) Less(i, j int) bool
- func (e *Specs) NumberOfOriginalSpecs() int
- func (e *Specs) Shuffle(r *rand.Rand)
- func (e *Specs) SkipMeasurements()
- func (e *Specs) Specs() []*Spec
- func (e *Specs) Swap(i, j int)
- func (e *Specs) TrimForParallelization(total int, node int)
Functions ¶
func ParallelizedIndexRange ¶
func ParallelizedIndexRange(length int, parallelTotal int, parallelNode int) (startIndex int, count int)
Types ¶
type Spec ¶
type Spec struct {
// contains filtered or unexported fields
}
func New ¶
func New(subject leafnodes.SubjectNode, containers []*containernode.ContainerNode) *Spec
func (*Spec) ConcatenatedString ¶
func (*Spec) Failed ¶
func (*Spec) Focused ¶
func (*Spec) IsMeasurement ¶
func (*Spec) Passed ¶
func (*Spec) Pending ¶
func (*Spec) Run ¶
func (spec *Spec) Run()
func (*Spec) Skip ¶
func (spec *Spec) Skip()
func (*Spec) Skipped ¶
func (*Spec) Summary ¶
func (spec *Spec) Summary(suiteID string) *types.SpecSummary
type Specs ¶
type Specs struct {
// contains filtered or unexported fields
}
func NewSpecs ¶
func (*Specs) ApplyFocus ¶
func (*Specs) Len ¶
func (*Specs) Less ¶
func (*Specs) NumberOfOriginalSpecs ¶
func (*Specs) Shuffle ¶
func (*Specs) SkipMeasurements ¶
func (e *Specs) SkipMeasurements()
func (*Specs) Specs ¶
func (*Specs) Swap ¶
func (*Specs) TrimForParallelization ¶
Source Files ¶
index_computer.go spec.go specs.go
- Version
- v1.0.0
- Published
- May 24, 2014
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 1 week ago –
Tools for package owners.