builder

package
v3.15.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2018 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GinkgoBuilder

type GinkgoBuilder struct {
	// contains filtered or unexported fields
}

A cascading pattern for building Ginkgo test environment.

func NewGinkgoBuilder

func NewGinkgoBuilder(text string) *GinkgoBuilder

func (*GinkgoBuilder) AfterEach

func (b *GinkgoBuilder) AfterEach(body interface{}, timeout ...float64) *GinkgoBuilder

func (*GinkgoBuilder) AfterLast

func (b *GinkgoBuilder) AfterLast(body interface{}, timeout ...float64) *GinkgoBuilder

func (*GinkgoBuilder) BeforeEach

func (b *GinkgoBuilder) BeforeEach(body interface{}, timeout ...float64) *GinkgoBuilder

func (*GinkgoBuilder) BeforeFirst

func (b *GinkgoBuilder) BeforeFirst(body interface{}, timeout ...float64) *GinkgoBuilder

func (*GinkgoBuilder) Expose

func (b *GinkgoBuilder) Expose()

By the definition of Ginkgo, this function exposes the corresponding Ginkgo function.

func (*GinkgoBuilder) FIt

func (b *GinkgoBuilder) FIt(text string, body interface{}, timeout ...float64) *GinkgoBuilder

func (*GinkgoBuilder) FMeasure

func (b *GinkgoBuilder) FMeasure(text string, body interface{}, samples int) *GinkgoBuilder

func (*GinkgoBuilder) FSpecify

func (b *GinkgoBuilder) FSpecify(text string, body interface{}, timeout ...float64) *GinkgoBuilder

func (*GinkgoBuilder) It

func (b *GinkgoBuilder) It(text string, body interface{}, timeout ...float64) *GinkgoBuilder

func (*GinkgoBuilder) JustBeforeEach

func (b *GinkgoBuilder) JustBeforeEach(body interface{}, timeout ...float64) *GinkgoBuilder

func (*GinkgoBuilder) Measure

func (b *GinkgoBuilder) Measure(text string, body interface{}, samples int) *GinkgoBuilder

func (*GinkgoBuilder) PIt

func (b *GinkgoBuilder) PIt(text string, args ...interface{}) *GinkgoBuilder

func (*GinkgoBuilder) PMeasure

func (b *GinkgoBuilder) PMeasure(text string, args ...interface{}) *GinkgoBuilder

func (*GinkgoBuilder) PSpecify

func (b *GinkgoBuilder) PSpecify(text string, args ...interface{}) *GinkgoBuilder

func (*GinkgoBuilder) Specify

func (b *GinkgoBuilder) Specify(text string, body interface{}, timeout ...float64) *GinkgoBuilder

func (*GinkgoBuilder) Table

func (b *GinkgoBuilder) Table(table *GinkgoTable) *GinkgoBuilder

func (*GinkgoBuilder) ToContext

func (b *GinkgoBuilder) ToContext() bool

func (*GinkgoBuilder) ToDescribe

func (b *GinkgoBuilder) ToDescribe() bool

func (*GinkgoBuilder) ToFContext

func (b *GinkgoBuilder) ToFContext() bool

func (*GinkgoBuilder) ToFDescribe

func (b *GinkgoBuilder) ToFDescribe() bool

func (*GinkgoBuilder) ToFunc

func (b *GinkgoBuilder) ToFunc() func()

func (*GinkgoBuilder) ToPContext

func (b *GinkgoBuilder) ToPContext() bool

func (*GinkgoBuilder) ToPDescribe

func (b *GinkgoBuilder) ToPDescribe() bool

func (*GinkgoBuilder) ToXContext

func (b *GinkgoBuilder) ToXContext() bool

func (*GinkgoBuilder) ToXDescribe

func (b *GinkgoBuilder) ToXDescribe() bool

func (*GinkgoBuilder) XIt

func (b *GinkgoBuilder) XIt(text string, args ...interface{}) *GinkgoBuilder

func (*GinkgoBuilder) XMeasure

func (b *GinkgoBuilder) XMeasure(text string, args ...interface{}) *GinkgoBuilder

func (*GinkgoBuilder) XSpecify

func (b *GinkgoBuilder) XSpecify(text string, args ...interface{}) *GinkgoBuilder

type GinkgoTable

type GinkgoTable struct {
	// contains filtered or unexported fields
}

A cascading pattern for building test cases as table-like paradigm.

The default test block would be "It()".

func NewGinkgoTable

func NewGinkgoTable() *GinkgoTable

func (*GinkgoTable) AsFIt

func (t *GinkgoTable) AsFIt() *GinkgoTable

func (*GinkgoTable) AsFSpecify

func (t *GinkgoTable) AsFSpecify() *GinkgoTable

func (*GinkgoTable) AsIt

func (t *GinkgoTable) AsIt() *GinkgoTable

func (*GinkgoTable) AsPIt

func (t *GinkgoTable) AsPIt() *GinkgoTable

func (*GinkgoTable) AsPSpecify

func (t *GinkgoTable) AsPSpecify() *GinkgoTable

func (*GinkgoTable) AsSpecify

func (t *GinkgoTable) AsSpecify() *GinkgoTable

func (*GinkgoTable) AsXIt

func (t *GinkgoTable) AsXIt() *GinkgoTable

func (*GinkgoTable) AsXSpecify

func (t *GinkgoTable) AsXSpecify() *GinkgoTable

func (*GinkgoTable) Case

func (t *GinkgoTable) Case(descBody interface{}, params ...interface{}) *GinkgoTable

func (*GinkgoTable) Exec

func (t *GinkgoTable) Exec(body interface{}) *GinkgoTable

func (*GinkgoTable) Expose

func (t *GinkgoTable) Expose()

By the definition of Ginkgo, this function exposes the corresponding Ginkgo "It()" or "Specify().

func (*GinkgoTable) GetTotalNumberOfFuncs

func (t *GinkgoTable) GetTotalNumberOfFuncs() int

func (*GinkgoTable) ToFunc

func (t *GinkgoTable) ToFunc() func()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL