Documentation ¶
Index ¶
- type Report
- func (r *Report) Bytes() []byte
- func (r *Report) CodeToTestRatioRatio() float64
- func (r *Report) CountMeasured() int
- func (r *Report) CoveragePercent() float64
- func (r *Report) IsMeasuredCodeToTestRatio() bool
- func (r *Report) IsMeasuredCoverage() bool
- func (r *Report) IsMeasuredTestExecutionTime() bool
- func (r *Report) MeasureCodeToTestRatio(code, test []string) error
- func (r *Report) MeasureCoverage(path string) error
- func (r *Report) MeasureTestExecutionTime(ctx context.Context, stepNames []string) error
- func (r *Report) String() string
- func (r *Report) Table() string
- func (r *Report) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Report ¶
type Report struct { Repository string `json:"repository"` Ref string `json:"ref"` Commit string `json:"commit"` Coverage *coverage.Coverage `json:"coverage"` CodeToTestRatio *ratio.Ratio `json:"code_to_test_ratio,omitempty"` TestExecutionTime *float64 `json:"test_execution_time,omitempty"` Timestamp time.Time `json:"timestamp"` // contains filtered or unexported fields }
func (*Report) CodeToTestRatioRatio ¶ added in v0.6.0
func (*Report) CountMeasured ¶ added in v0.12.0
func (*Report) CoveragePercent ¶
func (*Report) IsMeasuredCodeToTestRatio ¶ added in v0.12.0
func (*Report) IsMeasuredCoverage ¶ added in v0.12.0
func (*Report) IsMeasuredTestExecutionTime ¶ added in v0.12.0
func (*Report) MeasureCodeToTestRatio ¶ added in v0.6.0
func (*Report) MeasureCoverage ¶
func (*Report) MeasureTestExecutionTime ¶ added in v0.7.0
Click to show internal directories.
Click to hide internal directories.