Versions in this module Expand all Collapse all v0 v0.1.2 Nov 14, 2024 v0.1.1 Jan 25, 2024 Changes in this version + func Context() context.Context + func Database(t *testing.T) *sqlx.DB + func DatabaseURL() string + func DiamcircleCoreDatabase(t *testing.T) *sqlx.DB + func DiamcircleCoreDatabaseURL() string + func RequestHelperRaw(r *http.Request) + func RequestHelperStreaming(r *http.Request) + func ResetAuroraDB(t *testing.T, db *sqlx.DB) + type Assertions struct + func (a *Assertions) PageOf(length int, body *bytes.Buffer) bool + func (a *Assertions) Problem(body *bytes.Buffer, expected problem.P) bool + func (a *Assertions) ProblemType(body *bytes.Buffer, typ string) bool + type RequestHelper interface + Get func(string, ...func(*http.Request)) *httptest.ResponseRecorder + Post func(string, url.Values, ...func(*http.Request)) *httptest.ResponseRecorder + func NewRequestHelper(router *chi.Mux) RequestHelper + type StaticMockServer struct + LastRequest *http.Request + func NewStaticMockServer(response string) *StaticMockServer + type T struct + Assert *assert.Assertions + AuroraDB *sqlx.DB + CoreDB *sqlx.DB + Ctx context.Context + EndLogTest func() []logrus.Entry + Require *require.Assertions + T *testing.T + func Start(t *testing.T) *T + func (t *T) AuroraSession() *db.Session + func (t *T) CoreSession() *db.Session + func (t *T) Finish() + func (t *T) LoadLedgerStatus() ledger.Status + func (t *T) Scenario(name string) ledger.Status + func (t *T) ScenarioWithoutAurora(name string) ledger.Status + func (t *T) UnmarshalExtras(r io.Reader) map[string]string + func (t *T) UnmarshalNext(r io.Reader) string + func (t *T) UnmarshalPage(r io.Reader, dest interface{}) hal.Links