generateScoreUnits
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.
This method populates most required fields of ScoreReportUnit, leaving only the test case score and total score to be computed by the generator function.
Parameters
generator
The generator function to convert a XUnitReport.TestCase to a StageReportUnit.Scorable.Score.