Weighted

class Weighted(val runner: Runner, val stage: PipelineStage, stageName: String, report: XUnitReport?, weighting: XUnitWeighting?) : XUnitScoreGenerator

XUnitScoreGenerator for weighting-based score accumulation policy.

Parameters

stageName

User-friendly name of the stage; Also used to generate mangled names for ScoreReportUnit.

report

XUnitReport generated by the stage.

weighting

XUnitWeighting as specified by the user.

Constructors

Link copied to clipboard
constructor(runner: Runner, stage: PipelineStage, stageName: String, report: XUnitReport?, weighting: XUnitWeighting?)

Types

Link copied to clipboard
private class Aggregator(val scoreUnits: List<ScoreReportUnit>?, weighting: XUnitWeighting?) : ScoreUnitAggregator

Properties

Link copied to clipboard
protected open override val aggregator: ScoreUnitAggregator

ScoreUnitAggregator for reducing all generated ScoreReportUnit into a single aggregated score for the stage.

Link copied to clipboard
protected open override val generator: XUnitScoreUnitGenerator.Weighted

ScoreUnitGenerator for generating ScoreReportUnit from some arbitrary input of the pipeline stage.

Link copied to clipboard
protected open override val runner: Runner

The Runner used to execute the score-generating pipeline stage.

Link copied to clipboard

The score of this report unit.

Link copied to clipboard
Link copied to clipboard
protected open override val stage: PipelineStage

The PipelineStage which should generate the scoring-related information.