Documentation
¶
Index ¶
- func Within(t *testing.T, f func(*Test))
- type FTest
- func (test *FTest) AreEqual(x, y interface{}, msgFormat string, msgs ...interface{})
- func (test *FTest) AreNotEqual(x, y interface{}, msgFormat string, msgs ...interface{})
- func (test *FTest) EndsWith(s, post, msgFormat string, msgs ...interface{})
- func (test *FTest) IsFalse(b bool, msgFormat string, msgs ...interface{})
- func (test *FTest) IsNil(v interface{}, msgFormat string, msgs ...interface{})
- func (test *FTest) IsNotNil(v interface{}, msgFormat string, msgs ...interface{})
- func (test *FTest) IsTrue(b bool, msgFormat string, msgs ...interface{})
- func (test *FTest) Matches(s, regex, msgFormat string, msgs ...interface{})
- func (test *FTest) NotMatches(s, regex, msgFormat string, msgs ...interface{})
- func (test *FTest) StartsWith(s, pre, msgFormat string, msgs ...interface{})
- type Test
- func (test *Test) AreEqual(x, y interface{}, msgs ...interface{})
- func (test *Test) AreNotEqual(x, y interface{}, msgs ...interface{})
- func (test *Test) EndsWith(s, post string, msgs ...interface{})
- func (test *Test) IsError(e error)
- func (test *Test) IsFalse(b bool, msgs ...interface{})
- func (test *Test) IsNil(v interface{}, msgs ...interface{})
- func (test *Test) IsNotNil(v interface{}, msgs ...interface{})
- func (test *Test) IsTrue(b bool, msgs ...interface{})
- func (test *Test) Matches(s, regex string, msgs ...interface{})
- func (test *Test) NoError(e error)
- func (test *Test) NotMatches(s, regex string, msgs ...interface{})
- func (test *Test) Section(s string)
- func (test *Test) StartsWith(s, pre string, msgs ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FTest ¶
func (*FTest) AreNotEqual ¶
func (*FTest) NotMatches ¶
func (*FTest) StartsWith ¶
String tests
type Test ¶
func (*Test) AreEqual ¶
func (test *Test) AreEqual(x, y interface{}, msgs ...interface{})
Equality test
func (*Test) AreNotEqual ¶
func (test *Test) AreNotEqual(x, y interface{}, msgs ...interface{})
func (*Test) NotMatches ¶
func (*Test) StartsWith ¶
String tests
Click to show internal directories.
Click to hide internal directories.