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
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
XUnitReport generated by the pipeline stage.
Link copied to clipboard
List of ScoreReportUnit generated.
Link copied to clipboard
The PipelineStage which should generate the ScoreReportUnit.
Link copied to clipboard
The name of the pipeline stage as shown to users.
Functions
Link copied to clipboard
protected fun XUnitReport.generateScoreUnits(generator: (testsuite: IndexedValue<XUnitReport.TestSuite>, testcase: IndexedValue<XUnitReport.TestCase>) -> StageReportUnit.Scorable.Score): List<ScoreReportUnit>
Generates a list of ScoreReportUnit from this
report.