ScoreReportUnit

data class ScoreReportUnit(val stageMangledName: String, val testCaseMangledName: String, val stageReportPath: String, val testCaseReportPath: String, val displayName: String, val score: Double?, val total: Double) : ReportUnit

A ReportUnit which stores scoring information for each test case.

Note that mangled names are generated based on pipeline information, whereas report paths are generated based on report information. This means that mangled names can be determined at pipeline-construction time, whereas report paths may require the full report to be generated before the path can be determined.

Constructors

Link copied to clipboard
constructor(stageMangledName: String, testCaseMangledName: String, stageReportPath: String, testCaseReportPath: String, displayName: String, score: Double?, total: Double)

Properties

Link copied to clipboard

The display name of the test case for users.

Link copied to clipboard

The hash of this score report unit.

Link copied to clipboard

The score of the test case; Should be directly taken from the stage report.

Link copied to clipboard

Mangled name to the stage which generated this unit.

Link copied to clipboard

JSON Path to the stage report within the context of the full report.

Link copied to clipboard

Mangled name to the test case which generated this unit. This name should start with stageMangledName, as test cases should be part of the stage it is generated from.

Link copied to clipboard

JSON Path to the test case report within the context of the full report. This name should start with stageReportPath, as test case reports should be a nested component of the stage report it is generated from.

Link copied to clipboard

The total score of the test case; Disabled test cases should either be filtered out or have their score set to 0.0.