Documentation ¶
Overview ¶
Package reportdb provides functionality for managing test reports in a database.
Index ¶
- type TestReport
- func (fe *TestReport) GetAllTestRunIDs(ctx context.Context) ([]string, error)
- func (fe *TestReport) GetReport(ctx context.Context, testRunID string, testSetID string) (*models.TestReport, error)
- func (fe *TestReport) GetTestCaseResults(_ context.Context, testRunID string, testSetID string) ([]models.TestResult, error)
- func (fe *TestReport) InsertReport(ctx context.Context, testRunID string, testSetID string, ...) error
- func (fe *TestReport) InsertTestCaseResult(_ context.Context, testRunID string, testSetID string, ...) error
- func (fe *TestReport) UpdateReport(ctx context.Context, testRunID string, coverageReport any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestReport ¶
type TestReport struct { Logger *zap.Logger Path string Name string // contains filtered or unexported fields }
func (*TestReport) GetAllTestRunIDs ¶
func (fe *TestReport) GetAllTestRunIDs(ctx context.Context) ([]string, error)
func (*TestReport) GetReport ¶
func (fe *TestReport) GetReport(ctx context.Context, testRunID string, testSetID string) (*models.TestReport, error)
func (*TestReport) GetTestCaseResults ¶
func (fe *TestReport) GetTestCaseResults(_ context.Context, testRunID string, testSetID string) ([]models.TestResult, error)
func (*TestReport) InsertReport ¶
func (fe *TestReport) InsertReport(ctx context.Context, testRunID string, testSetID string, testReport *models.TestReport) error
func (*TestReport) InsertTestCaseResult ¶
func (fe *TestReport) InsertTestCaseResult(_ context.Context, testRunID string, testSetID string, result *models.TestResult) error
func (*TestReport) UpdateReport ¶
Click to show internal directories.
Click to hide internal directories.