package failer

import "github.com/onsi/ginkgo/internal/failer"

Index

Types

type Failer

type Failer struct {
	// contains filtered or unexported fields
}

func New

func New() *Failer

func (*Failer) Drain

func (f *Failer) Drain(componentType types.SpecComponentType, componentIndex int, componentCodeLocation types.CodeLocation) (types.SpecFailure, types.SpecState)

func (*Failer) Fail

func (f *Failer) Fail(message string, location types.CodeLocation)

func (*Failer) Panic

func (f *Failer) Panic(location types.CodeLocation, forwardedPanic interface{})

func (*Failer) Skip

func (f *Failer) Skip(message string, location types.CodeLocation)

func (*Failer) Timeout

func (f *Failer) Timeout(location types.CodeLocation)

Source Files

failer.go

Version
v1.16.5 (latest)
Published
Oct 11, 2021
Platform
linux/amd64
Imports
3 packages
Last checked
3 weeks ago

Tools for package owners.