package suite
import "github.com/onsi/ginkgo/internal/suite"
Index ¶
- type Suite
- func New(failer *failer.Failer) *Suite
- func (suite *Suite) CurrentRunningSpecSummary() (*types.SpecSummary, bool)
- func (suite *Suite) PushAfterEachNode(body interface{}, codeLocation types.CodeLocation, timeout time.Duration)
- func (suite *Suite) PushBeforeEachNode(body interface{}, codeLocation types.CodeLocation, timeout time.Duration)
- func (suite *Suite) PushContainerNode(text string, body func(), flag types.FlagType, codeLocation types.CodeLocation)
- func (suite *Suite) PushItNode(text string, body interface{}, flag types.FlagType, codeLocation types.CodeLocation, timeout time.Duration)
- func (suite *Suite) PushJustAfterEachNode(body interface{}, codeLocation types.CodeLocation, timeout time.Duration)
- func (suite *Suite) PushJustBeforeEachNode(body interface{}, codeLocation types.CodeLocation, timeout time.Duration)
- func (suite *Suite) PushMeasureNode(text string, body interface{}, flag types.FlagType, codeLocation types.CodeLocation, samples int)
- func (suite *Suite) Run(t ginkgoTestingT, description string, reporters []reporters.Reporter, writer writer.WriterInterface, config config.GinkgoConfigType) (bool, bool)
- func (suite *Suite) SetAfterSuiteNode(body interface{}, codeLocation types.CodeLocation, timeout time.Duration)
- func (suite *Suite) SetBeforeSuiteNode(body interface{}, codeLocation types.CodeLocation, timeout time.Duration)
- func (suite *Suite) SetSynchronizedAfterSuiteNode(bodyA interface{}, bodyB interface{}, codeLocation types.CodeLocation, timeout time.Duration)
- func (suite *Suite) SetSynchronizedBeforeSuiteNode(bodyA interface{}, bodyB interface{}, codeLocation types.CodeLocation, timeout time.Duration)
Types ¶
type Suite ¶
type Suite struct {
// contains filtered or unexported fields
}
func New ¶
func (*Suite) CurrentRunningSpecSummary ¶
func (suite *Suite) CurrentRunningSpecSummary() (*types.SpecSummary, bool)
func (*Suite) PushAfterEachNode ¶
func (suite *Suite) PushAfterEachNode(body interface{}, codeLocation types.CodeLocation, timeout time.Duration)
func (*Suite) PushBeforeEachNode ¶
func (suite *Suite) PushBeforeEachNode(body interface{}, codeLocation types.CodeLocation, timeout time.Duration)
func (*Suite) PushContainerNode ¶
func (suite *Suite) PushContainerNode(text string, body func(), flag types.FlagType, codeLocation types.CodeLocation)
func (*Suite) PushItNode ¶
func (suite *Suite) PushItNode(text string, body interface{}, flag types.FlagType, codeLocation types.CodeLocation, timeout time.Duration)
func (*Suite) PushJustAfterEachNode ¶
func (suite *Suite) PushJustAfterEachNode(body interface{}, codeLocation types.CodeLocation, timeout time.Duration)
func (*Suite) PushJustBeforeEachNode ¶
func (suite *Suite) PushJustBeforeEachNode(body interface{}, codeLocation types.CodeLocation, timeout time.Duration)
func (*Suite) PushMeasureNode ¶
func (suite *Suite) PushMeasureNode(text string, body interface{}, flag types.FlagType, codeLocation types.CodeLocation, samples int)
func (*Suite) Run ¶
func (suite *Suite) Run(t ginkgoTestingT, description string, reporters []reporters.Reporter, writer writer.WriterInterface, config config.GinkgoConfigType) (bool, bool)
func (*Suite) SetAfterSuiteNode ¶
func (suite *Suite) SetAfterSuiteNode(body interface{}, codeLocation types.CodeLocation, timeout time.Duration)
func (*Suite) SetBeforeSuiteNode ¶
func (suite *Suite) SetBeforeSuiteNode(body interface{}, codeLocation types.CodeLocation, timeout time.Duration)
func (*Suite) SetSynchronizedAfterSuiteNode ¶
func (suite *Suite) SetSynchronizedAfterSuiteNode(bodyA interface{}, bodyB interface{}, codeLocation types.CodeLocation, timeout time.Duration)
func (*Suite) SetSynchronizedBeforeSuiteNode ¶
func (suite *Suite) SetSynchronizedBeforeSuiteNode(bodyA interface{}, bodyB interface{}, codeLocation types.CodeLocation, timeout time.Duration)
Source Files ¶
- Version
- v1.16.5 (latest)
- Published
- Oct 11, 2021
- Platform
- linux/amd64
- Imports
- 13 packages
- Last checked
- 3 weeks ago –
Tools for package owners.