Documentation
¶
Index ¶
- type TestC
- func (t *TestC) Given(args ...interface{})
- func (t *TestC) Givenf(format string, args ...interface{})
- func (t *TestC) Then(args ...interface{})
- func (t *TestC) Thenf(format string, args ...interface{})
- func (t *TestC) WaitTimeout(wait *sync.WaitGroup, timeout time.Duration)
- func (t *TestC) When(args ...interface{})
- func (t *TestC) Whenf(format string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestC ¶
type TestC struct {
Assert *assert.Assertions
Require *require.Assertions
// contains filtered or unexported fields
}
TestC extends the standard testing functions with assertions and BDD logging
func (*TestC) WaitTimeout ¶
WaitTimeout waits for the sync group or times out and fails
Click to show internal directories.
Click to hide internal directories.