Versions in this module Expand all Collapse all v4 v4.1.0 May 1, 2019 Changes in this version + func SuitesString(suites []*TestSuite, prefix string) string + type ExitError struct + Code int + func (e ExitError) Error() string + type FailureOutput struct + Message string + Output string + XMLName xml.Name + type JUnitTestCase struct + Classname string + Duration float64 + FailureOutput *FailureOutput + Name string + SkipMessage *SkipMessage + SystemErr string + SystemOut string + XMLName xml.Name + type JUnitTestSuite struct + Children []*JUnitTestSuite + Duration float64 + Name string + NumFailed uint + NumSkipped uint + NumTests uint + Properties []*TestSuiteProperty + TestCases []*JUnitTestCase + XMLName xml.Name + type JUnitTestSuites struct + Suites []*JUnitTestSuite + XMLName xml.Name + type MinimalReporter struct + func NewMinimalReporter(name string, location types.CodeLocation) *MinimalReporter + func (r *MinimalReporter) AfterSuiteDidRun(setupSummary *types.SetupSummary) + func (r *MinimalReporter) BeforeSuiteDidRun(setup *types.SetupSummary) + func (r *MinimalReporter) Fail() + func (r *MinimalReporter) SpecDidComplete(spec *types.SpecSummary) + func (r *MinimalReporter) SpecSuiteDidEnd(summary *types.SuiteSummary) + func (r *MinimalReporter) SpecSuiteWillBegin(config config.GinkgoConfigType, summary *types.SuiteSummary) + func (r *MinimalReporter) SpecWillRun(spec *types.SpecSummary) + func (r *MinimalReporter) Summary() (*types.SpecSummary, *types.SetupSummary) + type Options struct + DryRun bool + ErrOut io.Writer + IncludeSuccessOutput bool + JUnitDir string + Out io.Writer + OutFile string + Parallelism int + Provider string + Suites []*TestSuite + TestFile string + Timeout time.Duration + func (opt *Options) Run(args []string) error + type SkipMessage struct + Message string + XMLName xml.Name + type TestFunc func(ctx context.Context, test *testCase) + type TestOptions struct + DryRun bool + ErrOut io.Writer + Out io.Writer + func (opt *TestOptions) Run(args []string) error + type TestResult string + const TestResultFail + const TestResultPass + const TestResultSkip + type TestSuite struct + Description string + Init func() error + Matches func(name string) bool + MaximumAllowedFlakes int + Name string + Parallelism int + TestTimeout time.Duration + func (s *TestSuite) Filter(tests []*testCase) []*testCase + type TestSuiteProperty struct + Name string + Value string + XMLName xml.Name