Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPanicError ¶
NewPanicError returns a new error that is identifiable as a panic error.
Types ¶
type Config ¶
type Config struct {
IgnorePanicOrder bool
RequireCloseOnPanic bool
SkipErrors bool // call Skip on testing.T for any error it encounters.
}
A Config is used to configure a simulation.
type Option ¶
type Option func(*options)
An Option configures a simulation.
func IgnoreError ¶
func IgnoreError() Option
type Simulation ¶
type Simulation struct {
// contains filtered or unexported fields
}
func (*Simulation) CloseWithError ¶
func (s *Simulation) CloseWithError(key string, err error, opts ...Option) error
func (*Simulation) Fatalf ¶
func (s *Simulation) Fatalf(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.