Documentation ¶
Index ¶
- func TestFailingTest(t *testing.T)
- func TestFiltered(t *testing.T)
- func TestMockTest(t *testing.T)
- func TestNoCases(t *testing.T)
- func TestOgletest(t *testing.T)
- func TestOgletest2(t *testing.T)
- func TestPanickingTest(t *testing.T)
- func TestPassingTest(t *testing.T)
- func TestUnexportedTest(t *testing.T)
- type AssertFailDuringSetUpTest
- type AssertFailDuringTearDownTest
- type CompletelyFilteredTest
- type ExpectFailDuringSetUpTest
- type ExpectFailDuringTearDownTest
- type FailingTest
- func (t *FailingTest) AssertEqFailure()
- func (t *FailingTest) AssertFalseFailure()
- func (t *FailingTest) AssertGeFailure()
- func (t *FailingTest) AssertGtFailure()
- func (t *FailingTest) AssertLeFailure()
- func (t *FailingTest) AssertLtFailure()
- func (t *FailingTest) AssertNeFailure()
- func (t *FailingTest) AssertThatFailure()
- func (t *FailingTest) AssertTrueFailure()
- func (t *FailingTest) AssertWithUserErrorMessages()
- func (t *FailingTest) Equals()
- func (t *FailingTest) ExpectWithUserErrorMessages()
- func (t *FailingTest) ExpectationAliases()
- func (t *FailingTest) HasSubstr()
- func (t *FailingTest) LessThan()
- func (t *FailingTest) ModifiedExpectation()
- func (t *FailingTest) PassingMethod()
- func (t *FailingTest) TearDown()
- type MockTest
- type NoCasesTest
- type PanickingTest
- type PartiallyFilteredTest
- func (t *PartiallyFilteredTest) PartiallyFilteredTestBar()
- func (t *PartiallyFilteredTest) PartiallyFilteredTestBaz()
- func (t *PartiallyFilteredTest) PartiallyFilteredTestFoo()
- func (t *PartiallyFilteredTest) PassingTestBar()
- func (t *PartiallyFilteredTest) PassingTestFoo()
- func (t *PartiallyFilteredTest) SomeFailingTest()
- func (t *PartiallyFilteredTest) SomePassingTest()
- type PassingTest
- type RunTwiceTest
- type UnexportedTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestFailingTest ¶
func TestFiltered ¶
func TestMockTest ¶
func TestNoCases ¶
func TestOgletest ¶
Set up two helpers that call RunTests. The test should still only be run once.
func TestOgletest2 ¶
func TestPanickingTest ¶
func TestPassingTest ¶
func TestUnexportedTest ¶
Types ¶
type AssertFailDuringSetUpTest ¶
type AssertFailDuringSetUpTest struct { }
func (*AssertFailDuringSetUpTest) PassingMethod ¶
func (t *AssertFailDuringSetUpTest) PassingMethod()
func (*AssertFailDuringSetUpTest) SetUp ¶
func (t *AssertFailDuringSetUpTest) SetUp(i *TestInfo)
func (*AssertFailDuringSetUpTest) TearDown ¶
func (t *AssertFailDuringSetUpTest) TearDown()
type AssertFailDuringTearDownTest ¶
type AssertFailDuringTearDownTest struct { }
func (*AssertFailDuringTearDownTest) PassingMethod ¶
func (t *AssertFailDuringTearDownTest) PassingMethod()
func (*AssertFailDuringTearDownTest) SetUp ¶
func (t *AssertFailDuringTearDownTest) SetUp(i *TestInfo)
func (*AssertFailDuringTearDownTest) TearDown ¶
func (t *AssertFailDuringTearDownTest) TearDown()
type CompletelyFilteredTest ¶
type CompletelyFilteredTest struct { }
func (*CompletelyFilteredTest) SetUpTestSuite ¶
func (t *CompletelyFilteredTest) SetUpTestSuite()
func (*CompletelyFilteredTest) TearDownTestSuite ¶
func (t *CompletelyFilteredTest) TearDownTestSuite()
type ExpectFailDuringSetUpTest ¶
type ExpectFailDuringSetUpTest struct { }
func (*ExpectFailDuringSetUpTest) PassingMethod ¶
func (t *ExpectFailDuringSetUpTest) PassingMethod()
func (*ExpectFailDuringSetUpTest) SetUp ¶
func (t *ExpectFailDuringSetUpTest) SetUp(i *TestInfo)
func (*ExpectFailDuringSetUpTest) TearDown ¶
func (t *ExpectFailDuringSetUpTest) TearDown()
type ExpectFailDuringTearDownTest ¶
type ExpectFailDuringTearDownTest struct { }
func (*ExpectFailDuringTearDownTest) PassingMethod ¶
func (t *ExpectFailDuringTearDownTest) PassingMethod()
func (*ExpectFailDuringTearDownTest) SetUp ¶
func (t *ExpectFailDuringTearDownTest) SetUp(i *TestInfo)
func (*ExpectFailDuringTearDownTest) TearDown ¶
func (t *ExpectFailDuringTearDownTest) TearDown()
type FailingTest ¶
type FailingTest struct { }
func (*FailingTest) AssertEqFailure ¶
func (t *FailingTest) AssertEqFailure()
func (*FailingTest) AssertFalseFailure ¶
func (t *FailingTest) AssertFalseFailure()
func (*FailingTest) AssertGeFailure ¶
func (t *FailingTest) AssertGeFailure()
func (*FailingTest) AssertGtFailure ¶
func (t *FailingTest) AssertGtFailure()
func (*FailingTest) AssertLeFailure ¶
func (t *FailingTest) AssertLeFailure()
func (*FailingTest) AssertLtFailure ¶
func (t *FailingTest) AssertLtFailure()
func (*FailingTest) AssertNeFailure ¶
func (t *FailingTest) AssertNeFailure()
func (*FailingTest) AssertThatFailure ¶
func (t *FailingTest) AssertThatFailure()
func (*FailingTest) AssertTrueFailure ¶
func (t *FailingTest) AssertTrueFailure()
func (*FailingTest) AssertWithUserErrorMessages ¶
func (t *FailingTest) AssertWithUserErrorMessages()
func (*FailingTest) Equals ¶
func (t *FailingTest) Equals()
func (*FailingTest) ExpectWithUserErrorMessages ¶
func (t *FailingTest) ExpectWithUserErrorMessages()
func (*FailingTest) ExpectationAliases ¶
func (t *FailingTest) ExpectationAliases()
func (*FailingTest) HasSubstr ¶
func (t *FailingTest) HasSubstr()
func (*FailingTest) LessThan ¶
func (t *FailingTest) LessThan()
func (*FailingTest) ModifiedExpectation ¶
func (t *FailingTest) ModifiedExpectation()
func (*FailingTest) PassingMethod ¶
func (t *FailingTest) PassingMethod()
func (*FailingTest) TearDown ¶
func (t *FailingTest) TearDown()
type MockTest ¶
type MockTest struct {
// contains filtered or unexported fields
}
func (*MockTest) ExpectCallForUnknownMethod ¶
func (t *MockTest) ExpectCallForUnknownMethod()
func (*MockTest) ExpectationSatisfied ¶
func (t *MockTest) ExpectationSatisfied()
func (*MockTest) InvokeFunction ¶
func (t *MockTest) InvokeFunction()
func (*MockTest) MockExpectationNotSatisfied ¶
func (t *MockTest) MockExpectationNotSatisfied()
func (*MockTest) UnexpectedCall ¶
func (t *MockTest) UnexpectedCall()
type NoCasesTest ¶
type NoCasesTest struct { }
func (*NoCasesTest) SetUpTestSuite ¶
func (t *NoCasesTest) SetUpTestSuite()
func (*NoCasesTest) TearDownTestSuite ¶
func (t *NoCasesTest) TearDownTestSuite()
type PanickingTest ¶
type PanickingTest struct { }
func (*PanickingTest) PanickingTest ¶
func (t *PanickingTest) PanickingTest()
func (*PanickingTest) TearDown ¶
func (t *PanickingTest) TearDown()
func (*PanickingTest) ZzzSomeOtherTest ¶
func (t *PanickingTest) ZzzSomeOtherTest()
type PartiallyFilteredTest ¶
type PartiallyFilteredTest struct { }
func (*PartiallyFilteredTest) PartiallyFilteredTestBar ¶
func (t *PartiallyFilteredTest) PartiallyFilteredTestBar()
func (*PartiallyFilteredTest) PartiallyFilteredTestBaz ¶
func (t *PartiallyFilteredTest) PartiallyFilteredTestBaz()
func (*PartiallyFilteredTest) PartiallyFilteredTestFoo ¶
func (t *PartiallyFilteredTest) PartiallyFilteredTestFoo()
func (*PartiallyFilteredTest) PassingTestBar ¶
func (t *PartiallyFilteredTest) PassingTestBar()
func (*PartiallyFilteredTest) PassingTestFoo ¶
func (t *PartiallyFilteredTest) PassingTestFoo()
func (*PartiallyFilteredTest) SomeFailingTest ¶
func (t *PartiallyFilteredTest) SomeFailingTest()
func (*PartiallyFilteredTest) SomePassingTest ¶
func (t *PartiallyFilteredTest) SomePassingTest()
type PassingTest ¶
type PassingTest struct { }
func (*PassingTest) AssertAliases ¶
func (t *PassingTest) AssertAliases()
func (*PassingTest) EmptyTestMethod ¶
func (t *PassingTest) EmptyTestMethod()
func (*PassingTest) ExpectAliases ¶
func (t *PassingTest) ExpectAliases()
func (*PassingTest) SlowTest ¶
func (t *PassingTest) SlowTest()
func (*PassingTest) SuccessfullMatches ¶
func (t *PassingTest) SuccessfullMatches()
type RunTwiceTest ¶
type RunTwiceTest struct { }
func (*RunTwiceTest) FailingMethod ¶
func (t *RunTwiceTest) FailingMethod()
func (*RunTwiceTest) PassingMethod ¶
func (t *RunTwiceTest) PassingMethod()
type UnexportedTest ¶
type UnexportedTest struct { }
func (*UnexportedTest) SomeTest ¶
func (t *UnexportedTest) SomeTest()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.