Versions in this module Expand all Collapse all v0 v0.2.0 Dec 1, 2025 v0.1.0 Feb 25, 2026 Changes in this version + func AssertEqual[T comparable](t *testing.T, expected, actual T) + func AssertError(t *testing.T, err error, expectedMessage string) + func AssertFalse(t *testing.T, condition bool, message string) + func AssertNoError(t *testing.T, err error) + func AssertTrue(t *testing.T, condition bool, message string) + func SetupTestDB(t *testing.T) *sql.DB + func SetupTestRedis(t *testing.T) redis.UniversalClient + type TestApp struct + App *framework.App + Config *config.BaseConfig + func NewTestApp(t *testing.T, options ...framework.AppOption) *TestApp + func (ta *TestApp) Start(t *testing.T) + func (ta *TestApp) Stop(t *testing.T) + func (ta *TestApp) WaitForReady(t *testing.T, timeout time.Duration) + type TestBundle struct + BundleName string + InitCalled bool + InitError error + StopCalled bool + StopError error + func NewTestBundle(name string) *TestBundle + func (b *TestBundle) Initialize(app *framework.App) error + func (b *TestBundle) Name() string + func (b *TestBundle) Stop(ctx context.Context) error + type TestComponent struct + Name string + StartCalled bool + StartError error + StopCalled bool + StopError error + func NewTestComponent(name string) *TestComponent + func (c *TestComponent) HealthChecks() []forgeHealth.Check + func (c *TestComponent) Start(ctx context.Context) error + func (c *TestComponent) Stop(ctx context.Context) error + type TestHTTPClient struct + BaseURL string + Client *http.Client + func NewTestHTTPClient(baseURL string) *TestHTTPClient + func (c *TestHTTPClient) CheckHealth(t *testing.T) + func (c *TestHTTPClient) Get(t *testing.T, path string) *http.Response + type TestServer struct + Server *httptest.Server + URL string + func NewTestServer(handler http.Handler) *TestServer + func (ts *TestServer) Close()