Documentation ¶
Index ¶
- type GinkgoBuilder
- func (b *GinkgoBuilder) AfterEach(body interface{}, timeout ...float64) *GinkgoBuilder
- func (b *GinkgoBuilder) AfterLast(body interface{}, timeout ...float64) *GinkgoBuilder
- func (b *GinkgoBuilder) BeforeEach(body interface{}, timeout ...float64) *GinkgoBuilder
- func (b *GinkgoBuilder) BeforeFirst(body interface{}, timeout ...float64) *GinkgoBuilder
- func (b *GinkgoBuilder) Expose()
- func (b *GinkgoBuilder) FIt(text string, body interface{}, timeout ...float64) *GinkgoBuilder
- func (b *GinkgoBuilder) FMeasure(text string, body interface{}, samples int) *GinkgoBuilder
- func (b *GinkgoBuilder) FSpecify(text string, body interface{}, timeout ...float64) *GinkgoBuilder
- func (b *GinkgoBuilder) It(text string, body interface{}, timeout ...float64) *GinkgoBuilder
- func (b *GinkgoBuilder) JustBeforeEach(body interface{}, timeout ...float64) *GinkgoBuilder
- func (b *GinkgoBuilder) Measure(text string, body interface{}, samples int) *GinkgoBuilder
- func (b *GinkgoBuilder) PIt(text string, args ...interface{}) *GinkgoBuilder
- func (b *GinkgoBuilder) PMeasure(text string, args ...interface{}) *GinkgoBuilder
- func (b *GinkgoBuilder) PSpecify(text string, args ...interface{}) *GinkgoBuilder
- func (b *GinkgoBuilder) Specify(text string, body interface{}, timeout ...float64) *GinkgoBuilder
- func (b *GinkgoBuilder) Table(table *GinkgoTable) *GinkgoBuilder
- func (b *GinkgoBuilder) ToContext() bool
- func (b *GinkgoBuilder) ToDescribe() bool
- func (b *GinkgoBuilder) ToFContext() bool
- func (b *GinkgoBuilder) ToFDescribe() bool
- func (b *GinkgoBuilder) ToFunc() func()
- func (b *GinkgoBuilder) ToPContext() bool
- func (b *GinkgoBuilder) ToPDescribe() bool
- func (b *GinkgoBuilder) ToXContext() bool
- func (b *GinkgoBuilder) ToXDescribe() bool
- func (b *GinkgoBuilder) XIt(text string, args ...interface{}) *GinkgoBuilder
- func (b *GinkgoBuilder) XMeasure(text string, args ...interface{}) *GinkgoBuilder
- func (b *GinkgoBuilder) XSpecify(text string, args ...interface{}) *GinkgoBuilder
- type GinkgoTable
- func (t *GinkgoTable) AsFIt() *GinkgoTable
- func (t *GinkgoTable) AsFSpecify() *GinkgoTable
- func (t *GinkgoTable) AsIt() *GinkgoTable
- func (t *GinkgoTable) AsPIt() *GinkgoTable
- func (t *GinkgoTable) AsPSpecify() *GinkgoTable
- func (t *GinkgoTable) AsSpecify() *GinkgoTable
- func (t *GinkgoTable) AsXIt() *GinkgoTable
- func (t *GinkgoTable) AsXSpecify() *GinkgoTable
- func (t *GinkgoTable) Case(descBody interface{}, params ...interface{}) *GinkgoTable
- func (t *GinkgoTable) Exec(body interface{}) *GinkgoTable
- func (t *GinkgoTable) Expose()
- func (t *GinkgoTable) GetTotalNumberOfFuncs() int
- func (t *GinkgoTable) ToFunc() func()
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()
Click to show internal directories.
Click to hide internal directories.