Weighted
class Weighted(val runner: Runner, val stage: PipelineStage, val stageNameUser: String, val report: XUnitReport?, weighting: XUnitWeighting?) : XUnitScoreUnitGenerator
XUnitScoreUnitGenerator for weighting-based score accumulation policy.
Parameters
weighting
The XUnitWeighting as defined by the user.
Constructors
Link copied to clipboard
constructor(runner: Runner, stage: PipelineStage, stageNameUser: String, report: XUnitReport?, weighting: XUnitWeighting?)
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.