Documentation ¶
Overview ¶
Package ginkgowrapper wraps Ginkgo Fail and Skip functions to panic with structured data instead of a constant string.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FailurePanic ¶
type FailurePanic struct { Message string // The failure message passed to Fail Filename string // The filename that is the source of the failure Line int // The line number of the filename that is the source of the failure FullStackTrace string // A full stack trace starting at the source of the failure }
FailurePanic is the value that will be panicked from Fail.
func (FailurePanic) String ¶
func (FailurePanic) String() string
String makes FailurePanic look like the old Ginkgo panic when printed.
type SkipPanic ¶
type SkipPanic struct { Message string // The failure message passed to Fail Filename string // The filename that is the source of the failure Line int // The line number of the filename that is the source of the failure FullStackTrace string // A full stack trace starting at the source of the failure }
SkipPanic is the value that will be panicked from Skip.
Click to show internal directories.
Click to hide internal directories.