Documentation ¶
Index ¶
- type NewlineReporter
- func (NewlineReporter) AfterSuiteDidRun(setupSummary *SetupSummary)
- func (NewlineReporter) BeforeSuiteDidRun(setupSummary *SetupSummary)
- func (NewlineReporter) SpecDidComplete(specSummary *SpecSummary)
- func (NewlineReporter) SpecSuiteDidEnd(summary *SuiteSummary)
- func (NewlineReporter) SpecSuiteWillBegin(config GinkgoConfigType, summary *SuiteSummary)
- func (NewlineReporter) SpecWillRun(specSummary *SpecSummary)
- type TestEnvironment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewlineReporter ¶
type NewlineReporter struct{}
Print a newline after the default Reporter due to issue https://github.com/jstemmer/go-junit-report/issues/31
func (NewlineReporter) AfterSuiteDidRun ¶
func (NewlineReporter) AfterSuiteDidRun(setupSummary *SetupSummary)
func (NewlineReporter) BeforeSuiteDidRun ¶
func (NewlineReporter) BeforeSuiteDidRun(setupSummary *SetupSummary)
func (NewlineReporter) SpecDidComplete ¶
func (NewlineReporter) SpecDidComplete(specSummary *SpecSummary)
func (NewlineReporter) SpecSuiteDidEnd ¶
func (NewlineReporter) SpecSuiteDidEnd(summary *SuiteSummary)
SpecSuiteDidEnd Prints a newline between "35 Passed | 0 Failed | 0 Pending | 0 Skipped" and "--- PASS:"
func (NewlineReporter) SpecSuiteWillBegin ¶
func (NewlineReporter) SpecSuiteWillBegin(config GinkgoConfigType, summary *SuiteSummary)
func (NewlineReporter) SpecWillRun ¶
func (NewlineReporter) SpecWillRun(specSummary *SpecSummary)
type TestEnvironment ¶
type TestEnvironment struct { StopServer chan struct{} ServerOuput *io.PipeWriter ApiserverPort int BearerToken string EtcdClientPort int EtcdPeerPort int EtcdPath string EtcdCmd *exec.Cmd Done bool }
func NewTestEnvironment ¶
func NewTestEnvironment() *TestEnvironment
func (*TestEnvironment) Start ¶
func (te *TestEnvironment) Start( apis []*builders.APIGroupBuilder, openapidefs openapi.GetOpenAPIDefinitions) *rest.Config
Start starts a local Kubernetes server and updates te.ApiserverPort with the port it is listening on
Click to show internal directories.
Click to hide internal directories.