Documentation ¶
Index ¶
- type Regression
- func (r *Regression) DeNoise(ctx context.Context, cid, id, app, body string, h http.Header, path string) error
- func (r *Regression) StartTestRun(ctx context.Context, runId, testCasePath, mockPath, testReportPath string) error
- func (r *Regression) StopTestRun(ctx context.Context, runId, testReportPath string) error
- func (r *Regression) Test(ctx context.Context, cid, app, runID, id, testCasePath, mockPath string, ...) (bool, error)
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Regression ¶
type Regression struct {
// contains filtered or unexported fields
}
func New ¶
func New(tdb models.TestCaseDB, rdb run.DB, log *zap.Logger, TestExport bool, mFS models.MockFS, tFS models.TestReportFS) *Regression
func (*Regression) StartTestRun ¶ added in v0.5.6
func (r *Regression) StartTestRun(ctx context.Context, runId, testCasePath, mockPath, testReportPath string) error
func (*Regression) StopTestRun ¶ added in v0.5.6
func (r *Regression) StopTestRun(ctx context.Context, runId, testReportPath string) error
type Service ¶
type Service interface { DeNoise(ctx context.Context, cid, id, app, body string, h http.Header, path string) error Test(ctx context.Context, cid, app, runID, id, testCasePath, mockPath string, resp models.HttpResp) (bool, error) StartTestRun(ctx context.Context, runId, testCasePath, mockPath, testReportPath string) error StopTestRun(ctx context.Context, runId, testReportPath string) error }
Click to show internal directories.
Click to hide internal directories.