XUnitScoreUnitGenerator

ScoreUnitGenerator for pipeline stages which output XUnitReport.

This class is mainly used to introduce XUnit-specific abstract fields and logic for the generation of ScoreReportUnit.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
class Total(val runner: Runner, val stage: PipelineStage, val stageNameUser: String, val report: XUnitReport?, maxScore: Double?) : XUnitScoreUnitGenerator

XUnitScoreUnitGenerator for total-based score accumulation policy.

Link copied to clipboard
class Weighted(val runner: Runner, val stage: PipelineStage, val stageNameUser: String, val report: XUnitReport?, weighting: XUnitWeighting?) : XUnitScoreUnitGenerator

XUnitScoreUnitGenerator for weighting-based score accumulation policy.

Properties

Link copied to clipboard
protected abstract val report: XUnitReport?

XUnitReport generated by the pipeline stage.

Link copied to clipboard
protected val reportIdx: Int

The index of this stage with respect to stages of this type.

Link copied to clipboard
protected abstract val runner: Runner

The Runner used to execute the pipeline stage.

Link copied to clipboard

List of ScoreReportUnit generated.

Link copied to clipboard
protected abstract val stage: PipelineStage

The PipelineStage which should generate the ScoreReportUnit.

Link copied to clipboard
protected open override val stageName: String

The name of the stage.

Link copied to clipboard
protected abstract val stageNameUser: String

The name of the pipeline stage as shown to users.

Functions

Link copied to clipboard