package output
import "k8s.io/kubernetes/test/e2e/framework/internal/output"
Index ¶
- func TestGinkgoOutput(t *testing.T, expected SuiteResults, runSpecsArgs ...interface{})
- type SuiteResults
- type TestResult
Functions ¶
func TestGinkgoOutput ¶
func TestGinkgoOutput(t *testing.T, expected SuiteResults, runSpecsArgs ...interface{})
Types ¶
type SuiteResults ¶
type SuiteResults []TestResult
type TestResult ¶
type TestResult struct { // Name is the full string for a Ginkgo It, including the "[Top Level]" prefix. Name string // Output written to GinkgoWriter during test. Output string // Failure is SpecSummary.Failure.Message with varying parts stripped. Failure string // Stack is a normalized version (just file names, function parameters stripped) of // Ginkgo's FullStackTrace of a failure. Empty if no failure. Stack string // Called to normalize the actual output string before comparison if non-nil. NormalizeOutput func(string) string // Called to normalize the actual failure string before comparison if non-nil. NormalizeFailure func(string) string }
TestResult is the outcome of one It spec.
Source Files ¶
output.go
- Version
- v1.26.8
- Published
- Aug 24, 2023
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 1 minute ago –
Tools for package owners.