Documentation ¶
Overview ¶
Package testenv contains helpers for setting up job-manager test environments.
Index ¶
- func BackendTest(cfg BackendTestConfig) func(t *testing.T)
- func NewTestClient(t testing.TB, srv *httptest.Server) *client.Client
- func NewTestControllerServer(t testing.TB, cfg middleware.Config, be backend.Interface) *httptest.Server
- func ReadFile(t testing.TB, p string) []byte
- type BackendTestConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackendTest ¶
func BackendTest(cfg BackendTestConfig) func(t *testing.T)
func NewTestControllerServer ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.