Documentation
¶
Index ¶
- func Run(engine Engine, handler Handler)
- type Element
- func AfterAll(lines ...Evaluable) Element
- func AfterEach(lines ...Evaluable) Element
- func BeforeAll(lines ...Evaluable) Element
- func BeforeEach(lines ...Evaluable) Element
- func Describe(title string, body ...Element) Element
- func Inline(line Fallible) Element
- func It(title string, lines ...Fallible) Element
- func Let[T any](variable Variable[T], cache func() T) Element
- type Engine
- type Evaluable
- type Fallible
- type Handler
- type Hook
- type Test
- type Variable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Element ¶
type Element interface {
Test() Test
Hook() Hook
Engine() Engine
IsTest() bool
IsHook() bool
IsEngine() bool
}
func BeforeEach ¶
Click to show internal directories.
Click to hide internal directories.