Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FixtureMockFile ¶
func ResultMockFile ¶
Types ¶
type MockObjectFn ¶
type MockObjectFn func() interface{}
Return a structure to load the mock data into
type Parameters ¶
type Parameters struct { *fixture.Parameters // contains filtered or unexported fields }
func P ¶
func P(name string, mockdata MockObjectFn) *Parameters
func (*Parameters) BasePath ¶
func (p *Parameters) BasePath() string
mockdata.BasePath('./testdata/mock_{testname}_')
func (*Parameters) Values ¶
func (p *Parameters) Values() []fixture.Param
Click to show internal directories.
Click to hide internal directories.