Documentation ¶
Overview ¶
Package http contains HTTP integration test helpers.
Index ¶
- func AlwaysThen(then time.Time) client.EventDefaulter
- func ClientDirect(t *testing.T, tc DirectTapTest, copts ...client.Option)
- func ClientLoopback(t *testing.T, tc TapTest, copts ...client.Option)
- func ClientMiddleware(t *testing.T, tc TapTest, copts ...client.Option)
- func ClientReceiver(t *testing.T, tc ReceiverTapTest, copts ...client.Option)
- func NewTap() *tapHandler
- type DirectTapTest
- type DirectTapTestCases
- type ReceiverTapTest
- type ReceiverTapTestCases
- type TapTest
- type TapTestCases
- type TapValidation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlwaysThen ¶
func AlwaysThen(then time.Time) client.EventDefaulter
func ClientDirect ¶
func ClientDirect(t *testing.T, tc DirectTapTest, copts ...client.Option)
func ClientReceiver ¶
func ClientReceiver(t *testing.T, tc ReceiverTapTest, copts ...client.Option)
Types ¶
type DirectTapTest ¶
type DirectTapTest struct {
// contains filtered or unexported fields
}
type DirectTapTestCases ¶
type DirectTapTestCases map[string]DirectTapTest
type ReceiverTapTest ¶
type ReceiverTapTest struct {
// contains filtered or unexported fields
}
type ReceiverTapTestCases ¶
type ReceiverTapTestCases map[string]ReceiverTapTest
type TapTestCases ¶
Click to show internal directories.
Click to hide internal directories.