Documentation
¶
Index ¶
- type Test
- func (test Test[T]) AssertExpectations(outputs ...any)
- func (test *Test[T]) ExpectOutputs(outputs ...any) *Test[T]
- func (test Test[T]) GetInput(index int) any
- func (test Test[T]) GetMock() *mock.Mock
- func (test Test[T]) GetStringPointerInput(index int) *string
- func (test Test[T]) Run(goTest *testing.T, runner func(Test[T], T))
- func (test *Test[T]) WithInputs(inputs ...any) *Test[T]
- func (test *Test[T]) WithMockCall(call *mock.Mock) *Test[T]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Test ¶
type Test[T any] struct { // contains filtered or unexported fields }
func (Test[T]) AssertExpectations ¶
func (*Test[T]) ExpectOutputs ¶
func (Test[T]) GetStringPointerInput ¶
func (*Test[T]) WithInputs ¶
Click to show internal directories.
Click to hide internal directories.