File tree 1 file changed +2
-3
lines changed
internal/cmd/operator-sdk/scorecard
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -121,9 +121,6 @@ func (c *scorecardCmd) printOutput(output v1alpha3.TestList) error {
121
121
func (c * scorecardCmd ) convertXunit (output v1alpha3.TestList ) xunit.TestSuites {
122
122
var resultSuite xunit.TestSuites
123
123
resultSuite .Name = "scorecard"
124
- resultSuite .Tests = ""
125
- resultSuite .Failures = ""
126
- resultSuite .Errors = ""
127
124
128
125
jsonTestItems := output .Items
129
126
for _ , item := range jsonTestItems {
@@ -144,6 +141,8 @@ func (c *scorecardCmd) convertXunit(output v1alpha3.TestList) xunit.TestSuites {
144
141
tSuite .URL = item .Spec .Image
145
142
//TODO: Add TestStuite ID when API updates version
146
143
//tSuite.ID = item.Spec.UniqueID
144
+ tSuite .TestCases = append (tSuite .TestCases , tCase )
145
+ resultSuite .TestSuite = append (resultSuite .TestSuite , tSuite )
147
146
}
148
147
}
149
148
You can’t perform that action at this time.
0 commit comments