Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDockerService ¶
func GetDockerService[T any]( t *testing.T, context DockerServiceConfig[T], ) T
func TestRequest ¶
func TestRequest(t *testing.T, app *athena.App, testCase HTTPTestCase)
Types ¶
type DockerServiceConfig ¶
type DockerServiceConfig[T any] struct { DockerImage string DockerImageTag string InternalPort int Environment map[string]string Builder func(host string, port int) (T, error) }
func (DockerServiceConfig[T]) Env ¶
func (d DockerServiceConfig[T]) Env() []string
type HTTPTestCase ¶
type HTTPTestCase struct { Request HTTPTestCaseRequest Expected HTTPTestCaseResponse }
Click to show internal directories.
Click to hide internal directories.