Documentation
¶
Index ¶
- func AddAtachments(paths ...string)
- func AddAtachmentsFromString(name, content string)
- func AddLinks(l models.Link)
- func AddMessage(m string)
- func AfterTest(t *testing.T, m StepMetadata, f func())
- func BeforeTest(t *testing.T, m StepMetadata, f func())
- func Condition(t *testing.T, condition assert.Comparison, msgAndArgs ...interface{})
- func Contains(t *testing.T, s interface{}, contains interface{}, msgAndArgs ...interface{})
- func DirExists(t *testing.T, path string, msgAndArgs ...interface{})
- func ElementsMatch(t *testing.T, listA interface{}, listB interface{}, msgAndArgs ...interface{})
- func Empty(t *testing.T, object interface{}, msgAndArgs ...interface{})
- func Equal(t *testing.T, expected interface{}, actual interface{}, ...)
- func EqualError(t *testing.T, theError error, errString string, msgAndArgs ...interface{})
- func EqualValues(t *testing.T, expected interface{}, actual interface{}, ...)
- func Error(t *testing.T, err error, msgAndArgs ...interface{})
- func ErrorAs(t *testing.T, err error, target interface{}, msgAndArgs ...interface{})
- func ErrorIs(t *testing.T, err error, target error, msgAndArgs ...interface{})
- func Exactly(t *testing.T, expected interface{}, actual interface{}, ...)
- func False(t *testing.T, value bool, msgAndArgs ...interface{})
- func Greater(t *testing.T, e1 interface{}, e2 interface{}, msgAndArgs ...interface{})
- func GreaterOrEqual(t *testing.T, e1 interface{}, e2 interface{}, msgAndArgs ...interface{})
- func Implements(t *testing.T, interfaceObject interface{}, object interface{}, ...)
- func InDelta(t *testing.T, expected, actual interface{}, delta float64, ...)
- func IsType(t *testing.T, expectedType interface{}, object interface{}, ...)
- func JSONEq(t *testing.T, expected, actual string, msgAndArgs ...interface{})
- func Len(t *testing.T, object interface{}, length int, msgAndArgs ...interface{})
- func Less(t *testing.T, e1 interface{}, e2 interface{}, msgAndArgs ...interface{})
- func LessOrEqual(t *testing.T, e1 interface{}, e2 interface{}, msgAndArgs ...interface{})
- func Nil(t *testing.T, object interface{}, msgAndArgs ...interface{})
- func NoError(t *testing.T, err error, msgAndArgs ...interface{})
- func NotContains(t *testing.T, s interface{}, contains interface{}, msgAndArgs ...interface{})
- func NotEmpty(t *testing.T, object interface{}, msgAndArgs ...interface{})
- func NotEqual(t *testing.T, expected interface{}, actual interface{}, ...)
- func NotEqualValues(t *testing.T, expected interface{}, actual interface{}, ...)
- func NotNil(t *testing.T, object interface{}, msgAndArgs ...interface{})
- func NotSame(t *testing.T, expected interface{}, actual interface{}, ...)
- func NotSubset(t *testing.T, list, subset interface{}, msgAndArgs ...interface{})
- func NotZero(t *testing.T, i interface{}, msgAndArgs ...interface{})
- func Regexp(t *testing.T, rx interface{}, str interface{}, msgAndArgs ...interface{})
- func Same(t *testing.T, expected interface{}, actual interface{}, ...)
- func Step(m StepMetadata, f func())
- func Subset(t *testing.T, list, subset interface{}, msgAndArgs ...interface{})
- func Test(t *testing.T, m TestMetadata, f func())
- func True(t *testing.T, value bool, msgAndArgs ...interface{})
- func WithinDuration(t *testing.T, expected, actual time.Time, delta time.Duration, ...)
- func Zero(t *testing.T, i interface{}, msgAndArgs ...interface{})
- type Link
- type LinkType
- type StepMetadata
- type StepResult
- type TestMetadata
- type TestResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAtachments ¶
func AddAtachments(paths ...string)
func AddAtachmentsFromString ¶
func AddAtachmentsFromString(name, content string)
func AddMessage ¶
func AddMessage(m string)
func AfterTest ¶
func AfterTest(t *testing.T, m StepMetadata, f func())
func BeforeTest ¶
func BeforeTest(t *testing.T, m StepMetadata, f func())
func Condition ¶
func Condition(t *testing.T, condition assert.Comparison, msgAndArgs ...interface{})
func ElementsMatch ¶
func EqualError ¶
func EqualValues ¶
func GreaterOrEqual ¶
func Implements ¶
func LessOrEqual ¶
func NotContains ¶
func NotEqualValues ¶
func Step ¶
func Step(m StepMetadata, f func())
func Test ¶
func Test(t *testing.T, m TestMetadata, f func())
func WithinDuration ¶
Types ¶
type StepMetadata ¶
type StepResult ¶ added in v0.8.3
type TestMetadata ¶
type TestResult ¶ added in v0.8.3
type TestResult struct {
// contains filtered or unexported fields
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.